Skip to main content
POST
Generate a Telegram link code

Authorizations

Authorization
string
header
required

Your instance API key as a bearer token: Authorization: Bearer <api_key>. /rest/1.0 also accepts ?auth_token=; /v0/store also accepts X-StremThru-Store-Authorization: Bearer <api_key>.

Response

A link code and deeplink.

code
string
expires_in
integer
Example:

900

bot
string