Skip to content

Authentication

Description:

The following information can be used to login to the API.Before using this API, ensure that you have registered on Spoiler Dashboard. The email account for the user needs to be verified before accessing the rest of the API calls.

Request

Request method:

POST

Headers:

Content-type: application/json

Request URL

https://spoilerinterface.com/interface/login

Request body:

{
  "username": "user@domain.com",
  "password": "secure_password"
}

Request example:

None

Response

{
    "access_token": "b9b2be66a4dfb33e49523154d7dd195bdee28f41"
}

Field description

The response information contains the following fields

Field name Description Type
access_token API key that can be used to make API request. str