Справочник API публикуется на английском языке.
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.
Авторизация
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. Как работают ключи.
Параметры пути
Тело запроса
application/json · обязательно
1–128 characterspattern: ^[a-zA-Z0-9_-]+$1–4096 charactersОтветы
details names each field that failed.Retry-After seconds.Ошибки возвращают {"error": "..."}, часто вместе с code и details. Подробнее: ошибки и ограничения.