Issue iMessage tokens
iMessage
Issue iMessage tokens
Exchange project credentials for a short-lived runtime token.
POST
Issue iMessage tokens
The broker exchanges long-lived project credentials for a short-lived runtime token and gRPC endpoint(s). The Skyline SDK calls this automatically — use this endpoint directly only for debugging or custom clients.
After this call, connect gRPC directly to
Request
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Project UUID |
projectSecret | string | Yes | Project secret |
platform | "imessage" | Yes | Platform to resolve |
space | string | No | Pin routing to a specific conversation handle |
Response
endpoints[].address with the returned token. The broker is not in the message hot path.
Errors
| Code | Meaning |
|---|---|
401 | Invalid credentials |
403 | iMessage not enabled for project |
503 | No healthy line available |