API referansı İngilizce yayımlanır.
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.
Yetkilendirme
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. Anahtarlar nasıl çalışır.
Yol parametreleri
İstek gövdesi
application/json · zorunlu
1–128 characterspattern: ^[a-zA-Z0-9_-]+$1–4096 charactersYanıtlar
details names each field that failed.Retry-After seconds.Hatalar {"error": "..."} döndürür, çoğu zaman bir code ve details ile birlikte. Ayrıntılar için: hatalar ve limitler.