POST
/
v2
/
user
/
{user_id}
/
sign_in_token
curl --request POST \
     --url {{BASE_URL}}/v2/user/{{USER_ID}}/sign_in_token \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \
{
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sign_in_token": "<string>"
}

Create a Vital Sign-In Token for your mobile apps to sign in with Vital Mobile SDKs.

Avoid requesting Vital Sign-In Token every time your mobile app relaunches. Your mobile app only needs to sign-in once with the Vital Mobile SDK. A signed-in session is persistent on device.

curl --request POST \
     --url {{BASE_URL}}/v2/user/{{USER_ID}}/sign_in_token \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \

Authorizations

x-vital-api-key
string
header
required

Vital Team API Key

Path Parameters

user_id
string
required

Response

200
application/json
Successful Response
user_id
string
required
sign_in_token
string
required