The impact.com API uses credentials consisting of an Account SID
and an Auth Token
to authenticate requests. You can view and manage your API keys in the impact.com Platform.
impact.com lets you create scoped tokens: API credentials with detailed, fine-tuned permissions that limit or allow access to specific API endpoints. This improves security, enhances access control, and simplifies token management.
To get started, explore:
- Best practices for scoped tokens.
- How to migrate to scoped tokens.
- How to manage API access effectively.
- How to keep your access tokens secure.
Your credentials carry many privileges, so be sure to keep them secure! Do not share your credentials in publicly accessible areas such as GitHub, client-side code, etc.
Authentication to the API is performed via HTTP Basic Auth. Provide your Account SID
as the basic auth username and your Auth Token
as the basic auth password.
All API requests must be made over HTTPS (port 443). Calls made over plain HTTP
will fail. API requests with an incorrect authentication will also fail and will return a Status Code of 401
.
Basic Auth
curl 'https://api.impact.com/Advertisers/<AccountSID>/<Object>' \
-u '<AccountSID>:<AuthToken>'