curl --request POST \
--url https://spectrum.photon.codes/projects/{projectId}/imessage/tokens{
"succeed": true,
"data": {
"type": "<string>",
"auth": {},
"numbers": {},
"expiresIn": 123
}
}Issues iMessage tokens for a project. Use Authorization: Basic base64(projectId:projectSecret). Dedicated projects return per-instance LightAuth tokens keyed by instance ID in auth, along with a parallel numbers map of instance ID to phone number. Shared projects return a single LightAuth token. All returned tokens include their TTL in seconds.
curl --request POST \
--url https://spectrum.photon.codes/projects/{projectId}/imessage/tokens{
"succeed": true,
"data": {
"type": "<string>",
"auth": {},
"numbers": {},
"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?