RelayAPI

Poll Telegram connection status

GET
/v1/connect/telegram
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.

In: header

Query Parameters

code*string

Organization-bound challenge code to check (RLAY- followed by 12 uppercase hexadecimal characters)

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/connect/telegram?code=string"
{  "account": {    "avatar_url": "string",    "connected_at": "2019-08-24T14:15:22Z",    "display_name": "string",    "id": "string",    "metadata": {      "property1": null,      "property2": null    },    "platform": "twitter",    "platform_account_id": "string",    "updated_at": "2019-08-24T14:15:22Z",    "username": "string",    "workspace": {      "id": "string",      "name": "string"    }  },  "chat_id": "string",  "chat_title": "string",  "chat_type": "string",  "expires_at": "2019-08-24T14:15:22Z",  "status": "pending"}

Found something wrong? Help us improve this page.