POST/authtoken

User Login

This endpoint authenticates a user and returns a bearer token used for authorized API access.
POST/authtoken

Implementation Notes

This endpoint authenticates a user and returns a bearer token used for authorized API access.

Parameter Details

NameInTypeRequiredDescription
bodybodyobjectRequirednone
» userNamebodystringRequirednone
» passwordbodystringRequirednone

Responses

StatusMeaningDescriptionSchema
200OKSuccessInline
400Bad RequestBad RequestNone
401UnauthorizedAuthentication Failed or Account validity ExpiredNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X POST /authtoken \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'

Body parameter

{
  "userName": "sampleuser",
  "password": "securepassword123"
}

Example responses

200 Response
{
  "userName": "sampleuser",
  "type": "bearer",
  "token": "eyJhbGciOiJIUzI1NiIsInR...",
  "expiresIn": "3600s",
  "issued": "2025-06-11T10:00:00Z",
  "expires": "2025-06-11T11:00:00Z"
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.