Articles on: API Documentation

Working with Senders via the Super Send API

Working with Senders via the Super Send API

The Super Send API enables you to manage email senders efficiently, providing full control over your communication channels. This guide covers adding, updating, and testing senders to ensure seamless integration.



1. Adding a Sender



To add a new email sender, use the POST method to send a request to the senders endpoint.

Example Request:



curl -X POST https://api.supersend.io/v1/senders \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
  "email": "[email protected]",
  "name": "John Doe",
  "TeamId": "your-team-id"
}'


Required Fields:



email: The email address of the sender.
name: The sender’s name.
TeamId: The team to which the sender belongs.

*

2. Updating a Sender



To update the details of an existing sender, use the PUT method with the sender’s unique ID.

Example Request:



curl -X PUT https://api.supersend.io/v1/senders/<SENDER_ID> \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
  "name": "Jane Smith"
}'




3. Testing a Sender



Ensure that the sender is correctly configured by using the test endpoint.

Example Request:



curl -X POST https://api.supersend.io/v1/senders/<SENDER_ID>/test \
-H "Authorization: Bearer <YOUR_API_KEY>"


A successful response confirms that the sender is properly configured and ready to send emails.



4. Deleting a Sender



If a sender is no longer needed, you can remove it using the DELETE method.

Example Request:



curl -X DELETE https://api.supersend.io/v1/senders/<SENDER_ID> \
-H "Authorization: Bearer <YOUR_API_KEY>"




5. Retrieving Senders



Retrieve a list of all senders or details of a specific sender using the GET method.

Retrieve All Senders:



curl -X GET https://api.supersend.io/v1/senders \
-H "Authorization: Bearer <YOUR_API_KEY>"


Retrieve a Specific Sender:



curl -X GET https://api.supersend.io/v1/senders/<SENDER_ID> \
-H "Authorization: Bearer <YOUR_API_KEY>"




6. Best Practices for Managing Senders



Validate Senders:
Test all senders after adding them to ensure proper configuration.

Organize by Team:
Assign senders to the appropriate team to streamline campaign management.

Monitor Bounce Rates:
Regularly check sender performance metrics to address issues like high bounce rates.

Rotate Senders:
Use multiple senders to distribute email volume and maintain deliverability.



By managing senders effectively through the API, you can ensure reliable communication and optimize the performance of your email campaigns.

Updated on: 22/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!