Authenticate

Authenticate with Spy

Body·
required
application/json
  • clientId
    Type: string
    min length:  
    1
    required
  • clientSecret
    Type: string
    min length:  
    1
    required
Responses
  • application/json
  • application/vnd.api+json
  • application/vnd.api+json
Request Example for post/auth/login
curl https://demo.spysystem.dk/api/v2/auth/login \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "clientId": "",
  "clientSecret": ""
}'
{
  "token": "ce63c774-b657-4233-82c7-68a6c08a6f5c"
}