Skip to content
Documentation menu
HTTP APITelegram

Authentication

Send a publisher API key in the Authorization header. Keep the key in your server configuration.

Get your key

Create or copy your API key in publisher settings. Use a platform ID that belongs to the same publisher.

Get an API key →

Request headers

Authorization: Bearer sk_live_xxxxx
Content-Type: application/json

SDK configuration

Set api_key and platform_id in Python, or apiKey and platformId in Node.js. The SDK adds the authorization header to its requests.