POST
/
sdk
/
{environmentId}
/
checkTelegramAuth
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/checkTelegramAuth \
  --header 'Content-Type: application/json' \
  --data '{
  "state": "<string>",
  "telegramAuthToken": "<string>",
  "forceCreateUser": true,
  "code": "An example name",
  "sessionPublicKey": "An example name"
}'
This response has no body data.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36

Body

application/json
Telegram Check Auth
state
string

Temporary auth state for oauth2 access

telegramAuthToken
string

JWT Auth Token coming from Telegram Bot containing user information

forceCreateUser
boolean

Force create a user for Telegram Auto Login

code
string
sessionPublicKey
string