Skip to main content
POST
/
api
/
auth
/
admin
/
sessions
/
exchange
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "jsmith@example.com",
    "name": "<string>",
    "emailVerified": true,
    "identities": [
      {
        "provider": "<string>"
      }
    ],
    "providerType": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "accessToken": "<string>"
}

Body

application/json
code
string
required

Authorization code or JWT from the Insforge

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Response

Cloud authorization verified, admin session created

user
object
accessToken
string

Internal JWT for admin authentication