Complete account setup and sign in

Body·CompleteAccountSetupRequest
required
application/json
  • password
    Type: string
    required
  • token
    Type: string
    required
Responses
  • application/json
  • application/json
  • application/json
Request Example for post/auth/account-setup/
curl https://api.lira.com/api/v1/auth/account-setup/ \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "",
  "password": ""
}'
{
  "session": {
    "accessToken": "string",
    "refreshToken": "string",
    "expiresIn": 1,
    "tokenType": "Bearer"
  },
  "user": {
    "id": "string",
    "email": "hello@example.com",
    "status": "string"
  },
  "organization": {
    "id": "string",
    "name": "string",
    "status": "string"
  }
}