curl --request POST \
--url https://spectrum.photon.codes/projects/{projectId}/voice/tokens{
"succeed": true,
"data": {
"token": "<string>",
"expiresIn": 123
}
}Issues a single voice LightAuth token for the project. Use Authorization: Basic base64(projectId:projectSecret). Always returns one token regardless of dedicated/shared provisioning. The token’s TTL (seconds) is included as expiresIn.
curl --request POST \
--url https://spectrum.photon.codes/projects/{projectId}/voice/tokens{
"succeed": true,
"data": {
"token": "<string>",
"expiresIn": 123
}
}Documentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Was this page helpful?