authentication/token

Full path authentication/token
HTTP Verb POST
Description This endpoint expects an HTTP POST request with Content-Type ‘application/json’ and in the body ‘{ "grant_type" : "client_credentials" }’.
Authorization happens by means of Authorization header. This has to be ‘Basic {EncodedCredentials}’, of which {EncodedCredentials} has to be the Base64-encoding of ‘{clientUser}:{clientPassword}’

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

AccessToken
NameDescriptionTypeAdditional information
Token

The actual access token

string

None.

Type

The type of access token. This will always be "Bearer"

string

None.

ExpiresIn

The time in seconds this token will be valid

integer

None.

ExpiresAt

The token expiration date and hour

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Type": "sample string 2",
  "ExpiresIn": 3,
  "ExpiresAt": "2025-10-29T12:28:13.0748538+01:00"
}

application/xml, text/xml

Sample:
<AuthenticationController.AccessToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DocFlowImportServiceInportal.Controllers">
  <ExpiresAt>2025-10-29T12:28:13.0748538+01:00</ExpiresAt>
  <ExpiresIn>3</ExpiresIn>
  <Token>sample string 1</Token>
  <Type>sample string 2</Type>
</AuthenticationController.AccessToken>