LogoAntiRaid
Create

Create User Session

Creates a new user session. Currently only API tokens can be generated using this endpoint

POST
/sessions
expiryinteger
Formatint64
namestring
typestring

Response Body

application/json

application/json

curl -X POST "https://loading/sessions" \  -H "Content-Type: application/json" \  -d '{    "expiry": 0,    "name": "string",    "type": "string"  }'
{
  "expiry": "2019-08-24T14:15:22Z",
  "session_id": "string",
  "token": "string",
  "user": {},
  "user_id": "string"
}
{
  "code": "InternalAuthError",
  "message": "string"
}

Last updated on