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:
- copy/paste your
instance_id
in the username field - copy/paste your
secret
in the secret field - Set 0 in the
min_action_id
field - 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.
Updated about 1 year ago