Authentication API

post

Generates an SDK access token for the provided email.

Authorizations
Body
emailstring · emailRequired

The email address of the user requesting the token.

Responses
200
Successfully generated SDK access token.
application/json
post
POST /authentication/v1/sdk/token HTTP/1.1
Host: api.gospace.app
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39

{
  "email": "[email protected]"
}
{
  "success": true,
  "data": {
    "access_token": "<JWT Access Token>"
  },
  "identifier": "auth_successful"
}

Last updated

Was this helpful?