How do I get a SendFox API access token?

Get a SendFox API access token in Settings → API tokens: click Create New Token, name it and copy it right away. It works on every plan (Free: limited endpoints).

What are access tokens for?

A personal access token authenticates your requests to the SendFox API—it's also what you paste into Zapier or the WordPress plugin to connect them to your account. Every plan can create tokens; on the Free plan a token works with a limited set of API endpoints. For every app SendFox connects to, see SendFox integrations.

Plans: personal access tokens are available on every plan, and Lifetime, Pro and Enterprise get the full API. On the Free plan the API tokens page shows a note above the token tools: the Free plan includes a limited set of API endpoints (reading your account, lists, campaigns and stats, adding and tagging contacts, and transactional email); any other endpoint returns HTTP 402. OAuth clients need a paid plan.

How do I create a personal access token?

  1. Open the menu in the top-right corner and go to Settings → Connections → API tokens (or visit sendfox.com/account/oauth).
  2. Next to Personal Access Tokens, click Create New Token.
  3. Give the token a name that says what it's for (for example, "Zapier" or "My website") and click Create.
  4. Copy the token right away—it's only shown once. If you lose it, create a new one.

Setting up transactional email? If you don’t have a token yet, the Transactional page’s Setup tab creates one for you, named Onboarding, and it’s listed here with your other tokens.

SendFox API tokens settings page with Create New Token and the OAuth Clients section

How do I use the token?

Include it in the Authorization header of every API request:

Authorization: Bearer <your token>

For a full worked example in Postman, see How to create a SendFox API request (Postman example). For the full list of endpoints, see What are SendFox's API Endpoints?

Troubleshooting

I don't see the OAuth Clients section

  • You're on the Free plan. The API tokens page shows the Free-plan note, Personal Access Tokens and Authorized Applications; OAuth Clients come with a paid plan (Lifetime or Pro).
  • To call the API on your own account, a personal access token is all you need.

I don't see API tokens in Settings

I lost my token

  • Tokens can't be viewed again after creation. Create a new one with Create New Token, update it wherever it's used, then click Revoke next to the old token's name.

Still stuck? Search the Help Center or email support@sendfox.com with the name of the integration and the error message you see—never send your token.

Frequently Asked Questions

Why do my API requests return 402?

On the Free plan, "This endpoint requires a paid plan. The Free plan includes a limited set of API endpoints." means you called an endpoint outside the Free set; use one from the Free set or upgrade to Lifetime or Pro for the full API. On any plan, "Contact limit reached. Upgrade your plan to add more contacts." means you've reached your contact limit.

What about OAuth clients?

If you're building an app where other SendFox users authorize access to their accounts, create an OAuth client instead—see creating an OAuth 2.0 client.

Can I have multiple tokens?

Yes—create one per integration so you can delete them independently.

Can a teammate create API tokens for my account?

No. A teammate who switches into your account doesn't see API tokens there, so the account owner creates them.

Still need help? Contact Us Contact Us