GET
/
v1
/
consents
/
consent_passcode
curl --request GET \
  --url https://os.gan.ai/v1/consents/consent_passcode \
  --header 'ganos-api-key: <api-key>'
{
  "passcode": "<string>",
  "expire_at": 123
}

Authorizations

ganos-api-key
string
header
required

Use the API key generated from our website to programmatically interact with our endpoints. This key authorizes your requests, allowing you to access and utilize our services securely.

Query Parameters

avatar_id
string
required

The avatar_id for which the passcode needs to be generated.

Response

200
application/json

Successful Response

The response is of type object.