API Reference

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.

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.
Language
Click Try It! to start a request and see the response here!