FOXAFFOXAFHelp Centre

API tokens and the public API

Updated 2 Dec 2026 · 3 min read

Create tokens so your own software, ERP or courier system can read and write contacts, send messages and enroll workflows through the FOXAF API.

API tokens let other software talk to your workspace through the FOXAF public API. Use them for an ERP, a courier system, your website backend or any custom app. Each token is tied to this workspace and can be limited to only what it needs.

The API tokens page with the token list and access column

Before you begin

  • You need the Owner or Admin role.
  • Have the developer who will use the token ready. The token is shown only once.

Where to find it

Go to Settings → Channels & Numbers → API tokens.

Create a token

  1. Click New token.
  2. Under Token name, type something specific, such as "ERP production". You will use this name to find and revoke it later.
  3. Under Expires in (days, optional), enter a number, or leave it blank for no expiry. A yearly token that you replace is safer.
  4. Under Access, tick only the scopes this token needs. For the WordPress plugin, click WooCommerce preset.
  5. Click Generate token.
  6. Copy the token from Token created — copy it now. It is never shown again.

Choose scopes

Scopes are named by area and action, for example:

  • contacts:read, contacts:write
  • messages:send, conversations:read, conversations:write, templates:read
  • deals:read, deals:write
  • workflows:read, workflows:enroll
  • forms:submit, files:write, agents:chat, webhooks:write
  • ecommerce:write, icargos:manage

Use the token

Send it in the Authorization header of every request:

Authorization: Bearer <your token>

The full address of the API is shown at the bottom of the page under API base URL. Click API docs at the top to open the public API reference. It lists every endpoint, its fields and example requests, and it can be shared with developers who don't have a FOXAF login.

Read the token list

  • Name and Token — the name and the first characters of the token.
  • Access — All scopes, or how many scopes it has.
  • Status — Active, Expired or Revoked.
  • Last used and Created.

Revoke a token

  1. Click the bin icon on the token's row.
  2. Confirm.

Any software using it stops working at once. Create a new token to replace it.

What happens next

Requests made with a token act on this workspace only. Messages sent through the API are charged like any other message on that channel. For WhatsApp, Meta charges per delivered template message by category and the customer's country, and replies inside the 24-hour window are free only for the first 1,000 a month per business phone number, then charged.

Common questions

I lost a token. Can I see it again? No. Only a hash is stored. Revoke it and create a new one.

Is there a limit on requests? Yes. Each token has a per-minute rate limit. If you go over it, wait a minute and retry.

Can I get events pushed to me instead of polling? Yes. Use Webhooks.

Do I need a token for the WooCommerce plugin? Yes. Create it on the WooCommerce integration page, or here with WooCommerce preset.