La référence de l'API est publiée en anglais.
Inspect Photon shared project or dedicated numbers for channel setup
/api/chat-endpoints/{endpointId}/photon/inspectInspect Photon shared project or dedicated numbers for channel setup.
Requires a member with connection-management access. The project secret is write-only input. Returns the project's actual allocation and eligibility for shared DMs or dedicated lines, never project secrets or minted line tokens. Responses are not cached. Inspection alone does not activate the channel.
Autorisation
Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Fonctionnement des clés.
Paramètres de chemin
Corps de la requête
application/json · obligatoire
1–128 characterspattern: ^[a-zA-Z0-9_-]+$1–4096 charactersRéponses
details names each field that failed.Retry-After seconds.Les erreurs renvoient {"error": "..."}, souvent avec un code et des details. Voir erreurs et limites.