Test your API access

Check your application

You have created your application, so you have:

  • your instance_id
  • your secret

We are going to use them to access one of our endpoints, via HTTP Basic Auth where the username is your instance_id and the password is your application secret.

Check your application permissions

If you did not grant permissions to your application when you created it, now is the time to go back and make sure you check the Action Synchronization API checkbox so you have permissions to call the GET /actions endpoint

Make one API call

From the GET /actions page:

  1. copy/paste your instance_id in the username field
  2. copy/paste your secret in the secret field
  3. Set 0 in the min_action_id field
  4. Click on the Try button.

Troubleshooting

In case of issue:

  • check the error message returned by the API
  • make sure to grant the permissions required for your API request to your application
  • verify the instance id and application secret
  • verify the HTTP method and payload according to the documentation of the API request.