Authentication in Super Send API
Authentication in Super Send API
To interact with the Super Send API, authentication is required to ensure secure and authorized access. Here’s a step-by-step guide to setting up and managing API authentication.
Super Send API uses API Keys for authentication.
Every API request must include the API Key in the request headers to verify your identity.
Log In:
Log in to your Super Send account.
Navigate to the Admin Page:
Go to the Admin Page in your dashboard.
Locate Your API Key:
Find and copy your unique API Key. This key is required for all API interactions.
Include your API Key in the headers of your API requests:
Keep Your API Key Secure:
Treat your API Key like a password. Do not share it publicly or store it in unsecured locations.
Rotate Keys Periodically:
Regularly regenerate your API Key for enhanced security. This can be done from the Admin Page.
Use Environment Variables:
Store your API Key in environment variables to keep it out of your application codebase.
Monitor API Key Usage:
Track the usage of your API Key to detect any unauthorized access.
Invalid API Key:
Ensure you’re using the correct API Key copied from your Admin Page.
Missing Authorization Header:
Verify that the Authorization header is included in your requests.
Key Expiry or Revocation:
If your API Key has been revoked or expired, generate a new one from the Admin Page.
With proper authentication, you can securely interact with the Super Send API to manage your campaigns, contacts, and more. Following best practices ensures a smooth and safe integration.
To interact with the Super Send API, authentication is required to ensure secure and authorized access. Here’s a step-by-step guide to setting up and managing API authentication.
How Authentication Works
Super Send API uses API Keys for authentication.
Every API request must include the API Key in the request headers to verify your identity.
Obtaining Your API Key
Log In:
Log in to your Super Send account.
Navigate to the Admin Page:
Go to the Admin Page in your dashboard.
Locate Your API Key:
Find and copy your unique API Key. This key is required for all API interactions.
Adding the API Key to Requests
Include your API Key in the headers of your API requests:
Header Example:
Authorization: Bearer <YOUR_API_KEY>
Example Request with curl:
curl -X GET https://api.supersend.io/v1/campaigns \
-H "Authorization: Bearer <YOUR_API_KEY>"
Best Practices for API Authentication
Keep Your API Key Secure:
Treat your API Key like a password. Do not share it publicly or store it in unsecured locations.
Rotate Keys Periodically:
Regularly regenerate your API Key for enhanced security. This can be done from the Admin Page.
Use Environment Variables:
Store your API Key in environment variables to keep it out of your application codebase.
Monitor API Key Usage:
Track the usage of your API Key to detect any unauthorized access.
Troubleshooting Authentication Issues
Invalid API Key:
Ensure you’re using the correct API Key copied from your Admin Page.
Missing Authorization Header:
Verify that the Authorization header is included in your requests.
Key Expiry or Revocation:
If your API Key has been revoked or expired, generate a new one from the Admin Page.
With proper authentication, you can securely interact with the Super Send API to manage your campaigns, contacts, and more. Following best practices ensures a smooth and safe integration.
Updated on: 22/01/2025
Thank you!