Skip to content

Security

Use these endpoints to authenticate requests to the Jiko API.

Login

Request

Provide the username and password in a request body to receive a bearer token to authenticate to the API's other endpoints.


Bodyapplication/jsonrequired
usernamestring, <= 128 characters(Username)required
passwordstring, <= 128 characters(Password)required
curl -i -X POST \
  https://your-partner-name.partner-api.jikoservices.com/api/v1/login/ \
  -H 'Content-Type: application/json' \
  -d '{
    "username": "string",
    "password": "string"
  }'

Responses

Successful Response

Bodyapplication/json
tokenstring(Token)required
expiresstring, (date-time)(Expires)required
Response
// No response example