We refreshed our doc site!

Bookmarked links may have changed

Read release notes

createDeviceTokenSocialLogin

Web3 Services
Compliance Engine

Get deviceToken to perform social login

POSThttps://api.circle.com/v1/w3s/users/social/token

Get deviceToken to perform social login in SDK

Body parameters
deviceId
string
Required

Get the device id from SDK, and the deviceToken is bound with this device id.

idempotencyKey
uuid
Required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to uuidgenerator.net. If the same key is reused, it will be treated as the same request and the original response will be returned.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "deviceToken": "eyJhbGciOiJS...-F8EFYDYjAxIUw",
4    "deviceEncryptionKey": "7LcOsm4lUAK2...7+kMGvqD1T6E="
5  }
6}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.