Authentication

Log In

Allows credentialed SDP users to log in to the SDP dashboard with a password. Note: all passwords must be at least 8 characters long and a combination of uppercase letters, lowercase letters, numbers, and symbols.

post/login

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Request body */*

emailstring required
passwordstring required
recaptcha_tokenstring

Token for reCAPTCHA validation. ReCAPTCHA token is required unless the DISABLE_RECAPTCHA configuration is set to true.

Example request

{
  "email": "johndoe@mail.com",
  "password": "mysecret"
}

Response

OK

tokenstring

Example response

{
  "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoidXNlci1pZCIsImVtYWlsIjoiZW1haWxAZW1haWwuY29tIiwicm9sZXMiOlt7Im5hbWUiOiJTdXBlcnZpc29yIn1dfSwiZXhwIjoxNjc1OTYyOTQ3fQ.4Zj9yBXch-iuFYF-kc_EhHPxjpwp_egMOLbOv4bZKO1MFvcmEgZ5MlXH1_1fZfgUxaNBcMCdRM6MGSqKocwGnA"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.