Get an Access Token (Token Retrieval)

This method of getting an access token allows you to authenticate directly to DataMotion's platform via client credentials or username and password. The access token must be used in the Authorization header of all Secure Content Platform API requests.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

For the grant_type parameter the following fields are possible:

  • client_credentials
    • This grant_type only works for a single account to get an access token, typically a backend service account used for server-to-server API flows. When using this parameter you will only use the client_id and client_secret parameters. Do NOT use the username and password parameters with this grant_type.
  • password
    • This grant_type works for any user account provisioned to your company on the secure platform. You will still use the client_id and client_secret parameters (given to you by DataMotion) and you will also use the username and password parameters in the request to get an access token.
Path Params
string
required

The company code for your tenant on the secure platform.

Form Data
string
required

The grant_type for the request. This should be set to password.

string
required

The client id given to you by DataMotion.

string
required

The client secret given to you by DataMotion.

string

The email address of the user getting an access token.

string

The password of the user getting an access token.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json