keyAuthentication

M2M Auth

circle-exclamation
circle-info

Expiry time of the token is 30 minutes from the time a fresh token is generated.

Generate a token for an M2M client

post

Authenticates a machine-to-machine client using Basic Authentication and returns an access token. The Basic Auth value should be constructed as: Base64(clientId:clientSecret)

Authorizations
AuthorizationstringRequired
Header parameters
UsernamestringRequired

Client ID for authentication

PasswordstringRequired

Client Secret for authentication

AuthorizationstringRequired

Basic authentication header. Format: "Basic " + Base64(clientId:clientSecret)

Example: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Body
stringOptional
Responses
chevron-right
200

Token generated successfully

application/json
post
/m2m/token

Last updated