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
Handle Telegram authentication
POST
/
sdk
/
{environmentId}
/
telegram
/
auth
Copy
Ask AI
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/telegram/auth \
--header 'Content-Type: application/json' \
--data '{
"state": "<string>",
"telegramUser": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"hash": "<string>",
"photoURL": "<string>",
"username": "<string>",
"authDate": "<string>"
}
}'
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
Response
202
Accepted
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/telegram/auth \
--header 'Content-Type: application/json' \
--data '{
"state": "<string>",
"telegramUser": {
"id": 123,
"firstName": "<string>",
"lastName": "<string>",
"hash": "<string>",
"photoURL": "<string>",
"username": "<string>",
"authDate": "<string>"
}
}'
Copy
Ask AI
This response does not have an example.
Assistant
Responses are generated using AI and may contain mistakes.