Zubarus API Docs
General

Request access token

POST
/access-token
usernamestring
passwordstring

Response Body

curl -X POST "https://api-test.zubarus.com/v3/access-token" \  -F username="johndoe@example.com" \  -F password="mysecretpassword"
{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMzcxNzQsInB1Ymxpc3hlcl9pZCI6NjgwLCJpYXQiOjE3NTkyMzM5NzIsInV4cCI6MTc1OTMyMDM3Mn0.FYMK5sKC9ozB0KEKjVBRL4kZCqylYEjBthtU6lZY9hE",
  "issued_at": 1759233972,
  "expires_at": 1759320372
}

{
  "error": {
    "status": 400,
    "title": "Bad Request",
    "message": "One or more required body parameters missing."
  },
  "error_data": {
    "missing": [
      "username",
      "password"
    ]
  }
}

{
  "error": {
    "status": 401,
    "title": "Unauthorized",
    "message": "Incorrect username/password."
  }
}
{
  "foo": "string"
}