Frequently Asked Questions
My Requests Get a 401 Unauthorized or 403 Forbidden Response
- Verify you’re using a valid token from your User Settings page
- Make sure you are passing a valid token in the
X-Auth-Token
header - Check you are using the correct token with the corresponding endpoint:
sandbox.api.magictelecom.com
or api.magictelecom.com
- If you are using one of the
/accounts/{account_number}/...
endpoints make sure you are using the correct account number. Note that your account number on sandbox is different from your account number on live. You can get your account number with a GET
to the /accounts endpoint.