Rest API
- Introduction
- GlobalWallets
- GlobalWalletAccessControl
- NameServices
- TestAccount
- CustomHostnames
- Exports
- Gates
- Settings
- Analytics
- Organizations
- Projects
- Custom Networks
- Chainalysis
- Environments
- Sessions
- Wallets
- Users
- Visits
- Members
- MfaSettings
- Invites
- ExternalJwt
- Origins
- UserApiTokens
- Tokens
- Allowlists
- Chains
- SDK Views
- Events
- Webhooks
- SDK
- Authentication & Authorization
- Wallet Management
- Transaction & Network
- User Management
- Security & Compliance
- Integration & Configuration
- Analytics & Monitoring
- Provider Integration
- GETGet HTML with rendered Telegram login widget
- POSTHandle Telegram authentication
- POSTTelegram provider SignIn endpoint
- POSTTelegram provider check auth
- POSTTelegram provider Verify endpoint
- POSTFarcaster provider SignIn endpoint
- POSTFarcaster provider Verify endpoint
- POSTOauth provider SignIn endpoint
- GETOauth provider redirect endpoint
- POSTOauth provider redirect endpoint for apple ID
- GETOauth provider authorization endpoint
- POSTOauth provider verify endpoint
- GETGet redirect URL for Oauth provider login
- GETGet redirect URL for Oauth provider login. This will return a string that the SDK can manipulate before redirecting the browser to.
- POSTReturns the authorization code or error retuned by oauth provider
- GETCreate nonce for authentication flow
- GETGet the access token for a user OAuth account
- GET
- Custom Fields
- DeeplinkUrls
- Mfa
- Waas
Provider Integration
Telegram provider check auth
POST
/
sdk
/
{environmentId}
/
checkTelegramAuth
Copy
Ask AI
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"
}'
Copy
Ask AI
This response does not have an example.
Path Parameters
ID of the environment
Required string length:
36
Example:
"95b11417-f18f-457f-8804-68e361f9164f"
Body
application/json
Telegram Check Auth
The body is of type object
.
Response
204
The user is recognized
Was this page helpful?
Copy
Ask AI
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"
}'
Copy
Ask AI
This response does not have an example.
Assistant
Responses are generated using AI and may contain mistakes.