Authenticate
Authenticate Documentation
Authenticate [POST]
Authenticate [POST]
Request
Endpoint
POST /api/v2/user/authenticate
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "authenticate",
"attributes": {
"cas_ticket": "ST-314971-9fjrd0HfOINCehJ5TKXX-cas2a"
}
}
}
Parameters
Attributes
cas_ticket
Type
string
Description A valid CAS Ticket from The Key
Required No
created_at
Type
date
Description The timestamp of when this resource was created
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OK
Body
{
"data": {
"id": "user::authenticate",
"type": "authenticate",
"attributes": {
"created_at": "2022-01-12T17:17:56Z",
"json_web_token": "eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZWE5N2UyN2EtZDEwYi00YjNhLTg4YjgtYWI5MDNhZWQ5OGI0IiwiZXhwIjoxNjQ0NTk5ODc2fQ.vC5zEm8uCFbszHZQ7G4uxZe54gmHam2tqAfF9sVAna4",
"updated_at": null,
"updated_in_db_at": null
}
}
}
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
json_web_token
Type
string
Description JSON Web Token
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Last updated