How to create API requests?
How to create API requests to SendFox: get an access token, authorize in Postman, and build a POST request that adds a contact to a list—step by step.
Before you start
- The SendFox API is included with paid plans. On the Free plan every request returns HTTP 402 with "API access requires a paid plan."
- All endpoints build from
https://api.sendfox.com—see the endpoints reference. - This walkthrough uses the Postman app, but the same steps work in any HTTP client.
Step 1: Create the request in Postman
- Click New, add the request name and collection, and click Save.

Step 2: Get your SendFox access token
- In SendFox, go to Settings → Connections → API tokens.
- Click Create New Token, name it, and click Create.
- Copy the personal access token immediately—it's only shown once. (Full details: how to get access tokens.)

Step 3: Authorize the request
- Back in Postman, open the Authorization tab.
- Choose Bearer Token (or OAuth 2.0) as the type and paste the access token you generated in SendFox.

Step 4: Write the request
Here's an example POST request that adds an email address and first name to a specific SendFox list.
- Select POST from the dropdown menu and use this URL:
https://api.sendfox.com/contacts

- Add
emailas a Key and the email address as its Value.

- Do the same for
first_name.

- To target a list, get its ID: in SendFox go to Audience → Lists, open the list, and copy the number from the page URL.

- Add the list as a
lists[]parameter with your list's ID as the value (your ID will differ from the example).

- Lastly, add an
Accept: application/jsonheader on the Headers tab so error responses come back as readable JSON.

Step 5: Test the request
Click Send. A successful request returns the new contact as JSON:

And the contact appears on your SendFox list:

Troubleshooting
HTTP 402: "API access requires a paid plan."
- The API is locked on the Free plan—upgrade to use it.
HTTP 401 Unauthorized
- The token is missing, mistyped, or revoked. Re-check the Authorization tab and create a fresh token if needed.
HTTP 4xx validation errors
- Check the JSON response message—usually a missing required parameter (for example,
emailon POST /contacts). TheAccept: application/jsonheader makes these messages readable. - Still stuck? Visit the SendFox Help Center at help.sendfox.com.
Frequently Asked Questions
What other endpoints can I call?
See the endpoints reference and the complete documentation at sendfox.com/developer/docs.
Do I have to use Postman?
No—any HTTP client works (curl, your own code, no-code tools). The pattern is the same: Bearer token in the Authorization header, JSON responses.
Is there a no-code option?
Yes—Zapier covers most automation needs without writing requests by hand.