GET
/
v1
/
consents
/
consent_passcode
Get 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<uuid>
required

The avatar_id for which the passcode needs to be generated.

Response

Successful Response

passcode
string
required
expire_at
integer
required

Expiration time for the returned passcode.