Skip to main content
POST
/
api
/
org
/
{org_name}
/
generate_token
Org Generate Token
curl --request POST \
  --url https://app.apigene.ai/api/org/{org_name}/generate_token \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

org_name
string
required

Query Parameters

expiry_duration
integer | null

Token expiry duration in seconds (optional)

Response

Successful Response