---
title: "Get Started with the Easify API"
description: "Get your API token, allow your server's IP, send your first SMS through the Easify API, and receive signed delivery status webhooks."
url: https://help.easify.app/en/articles/225-get-started-with-the-easify-api
collection: "Integrations"
updated: 2026-12-02
language: en
---

# Get Started with the Easify API

Get your API token, allow your server's IP, send your first SMS through the Easify API, and receive signed delivery status webhooks.

The Easify API lets your own software send SMS, MMS, email and voice messages, manage contacts and contact groups, and check delivery. This guide takes you from a new token to your first message and your first delivery webhook. The full endpoint reference is in the Easify API documentation at `easify.app/docs/api`.

## Before you start

-   You need a paid plan. The token cards don't appear on API Settings during a trial.
    
-   You need access to **Settings > API Settings**. Account owners always have it.
    
-   To send messages, you need an active Easify number and enough credits.
    
-   You need the public IP address of the server that will call the API.
    

## Pick the right token

API Settings shows up to three tokens. Each one opens a different door, so use the one that matches your job.

-   **Easify API Token**: for the Easify API described in this guide, for the Zoho CRM extension, and for AI assistants connected with a token. This is the one you want for your own code.
    
-   **Dialer Token**: for the Easify Dialer and the dialer Chrome extension only.
    
-   **External API Token**: for Easify's ready-made integrations, such as GoHighLevel, ActiveCampaign and Salesforce. It doesn't work with the Easify API.
    

**Note:** Zapier uses none of these. It uses the Authentication Key on **Settings > Integration Settings**.

**Note:** Every user has their own tokens. Requests made with a token act as that user, with that user's numbers and contacts.

## Step 1: Copy your Easify API Token

1.  Go to **Settings > API Settings**.
    
2.  In the **Easify API Token** card, click the copy button at the right end of the token. If the card is empty, click **Generate Key** first.
    

![Settings > API Settings with the copy button of the Easify API Token card marked](https://staticfiles.gleap.io/p6997121f1e0ded478c064ef9/HEhutNL7syL9Dpr56tgO8Ta1P6qS9b0kCF4jV2swDc1JbuSIgZ9HdCYffx7iD8sSIycO8txgUZ4.png)

3.  Store the token in your server's secret settings, not in your code or in a web page.
    

**Note:** **Regenerate** replaces the token once you confirm. The old token stops working immediately, so update every integration that uses it.

## Step 2: Allow your server's IP address

IP and domain whitelisting is on by default. While it's on, Easify refuses every API request that doesn't come from an address on your list, including when the list is empty.

1.  On **Settings > API Settings**, scroll to **Whitelisted IP and Domains**. The toggle next to the title shows whether whitelisting is on.
    
2.  Click **Add New IP & Domain**.
    

![Whitelisted IP and Domains card with the whitelisting toggle and the Add New IP & Domain button marked](https://staticfiles.gleap.io/p6997121f1e0ded478c064ef9/TYY0Iot0PqVlpNA5camzlHuAHIZMsBAIpJAD9hg5Hb6K0xLhMWSrgEQiKaFICQ2SJYR4Ph1N0HJ.png)

3.  Enter your server's public IP in **IP Address** and click **Submit**. Add one entry per server.
    

![Whitelist IP and Domain dialog with the IP Address field and Submit button marked](https://staticfiles.gleap.io/p6997121f1e0ded478c064ef9/7zOaUxTOkOOGJOYP23AwAPvGDctQiD9dzznTor6up8GtUQEAeQeyurKQ6cRyTsNLq1rmyo6bH9h.png)

**Note:** A **Domain Name** entry only matches requests sent from a web browser on that domain. Calls from a server don't identify a domain, so whitelist the server's IP instead.

**Note:** If your requests come from changing IPs, for example a serverless platform, you can turn whitelisting off with the toggle next to the card title. Easify then shows a warning that all IP addresses and domains are allowed. Changes take up to a minute to apply.

## Step 3: Send your first SMS

Every request goes over HTTPS and carries your token in the `Authorization` header as a Bearer token. The API has two current versions, and each endpoint lives in one of them:

```text
https://backend.easify.app/api/v3
https://backend.easify.app/api/v2
```

Send a text from one of your numbers. Leave the country code off both numbers and pass it separately:

```bash
curl -X POST https://backend.easify.app/api/v3/sms/send \
  -H "Authorization: Bearer YOUR_EASIFY_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "from_number": "3155550100",
    "to_number": "3155550123",
    "country_code": "+1",
    "message": "Hello from Easify"
  }'
```

Easify queues the message and answers with a `reference_id`:

```json
{
  "status": true,
  "message": "Message queued successully",
  "data": {
    "reference_id": "41a66ba9-...",
    "status": "Queued",
    "remarks": "Message queued"
  }
}
```

Keep the `reference_id`. Use it with `GET /api/v3/sms/status` to check delivery, or match it against the status webhook described below.

**Note:** Messages sent outside your open hours are held until the next opening time. Add `"force_send": 1` to send at once.

## What else you can do

-   **SMS (v3)**: send, check status, read a conversation's chat history.
    
-   **SMS (v2)**: SMS reports, SMS templates, and SMS campaigns (send, status, items).
    
-   **Email**: list email senders (v2), send email and check status (v3).
    
-   **Contacts and contact groups (v2)**: list, create, update and delete.
    
-   **Phone numbers (v2)**: list your numbers and set a per-number incoming SMS webhook.
    
-   **Voice (v2)**: list voice files, send ringless voicemail, read call history.
    
-   **Blacklist and DNC (v3)**: import blacklist contacts, check import progress, and run a DNC scrub.
    
-   **Sub-users (v2)**: get your sub-users' API tokens.
    

Some endpoints need the matching feature on your plan, for example email.

## Rate limits

Limits apply per token, per minute:

-   `POST /api/v3/sms/send`: 10,000 requests
    
-   `POST /api/v2/sms/send` and `GET /api/v3/sms/status`: 1,000 requests each
    
-   `GET /api/v2/sms/report`: 20 requests
    
-   Every other endpoint: 15 POST, PATCH or DELETE requests and 60 GET requests, shared across those endpoints
    

Over the limit, Easify answers HTTP 429 with a message such as **Too many requests. Try again in 59 seconds**. Wait that long before you retry. For bulk sending, use the v3 send endpoint.

## Step 4: Receive delivery status webhooks

Instead of polling for status, let Easify post each status change to your server.

1.  On **Settings > API Settings**, scroll to **Webhooks** and open the **SMS** tab.
    
2.  On the **Status Update** row, click **Edit**.
    

![Webhooks card with the SMS tab and the Edit and View Logs buttons of the Status Update row marked](https://staticfiles.gleap.io/p6997121f1e0ded478c064ef9/2oBFXiatSsUBJXspWXrFrIOj1pexAwy8lpcus0vcSc6yYUigZOToRLaM5Wgt2Sb8AuLGwTHE9wx.png)

3.  In **POST URL**, enter the HTTPS address on your server that should receive events.
    
4.  Next to **Secret Key**, click **Generate**, copy the key and store it on your server.
    
5.  Click **Update**.
    

![Update Webhook URL dialog with the POST URL field, the Generate button and the Update button marked](https://staticfiles.gleap.io/p6997121f1e0ded478c064ef9/s2WaszKicg4u61gV8RJsE6YEfXrHttNk3K0QOH80kOYr8crzCfmZrdLLHtFg5DAJb7wEYxcf2wg.png)

The other rows work the same way: **Incoming** on the SMS tab covers every inbound SMS and MMS, the **Email** tab covers email sent through the API, and the **Call** tab covers calls made with the Easify Dialer extension.

**Note:** The SMS Status Update webhook covers messages sent through the API, not messages sent from the Easify app.

### What Easify sends

Each event is a JSON POST. An SMS status event looks like this:

```json
{
  "sms_id": 123456,
  "reference_id": "c09698bc-43bb-43d4-bd66-...",
  "sender": "+13155550100",
  "receiver": "+13155550123",
  "sms_type": "sms",
  "message": "Hello from Easify",
  "media_url": null,
  "status": "Delivered",
  "remarks": "",
  "created_at": "2026-11-26T10:45:00.000000Z",
  "forwarded_at": null,
  "email": "jane@example.com",
  "full_name": "Jane Doe"
}
```

`email` and `full_name` come from the matching contact, if there is one. Every request also carries these headers:

-   `X-Easify-Signature`: the signature to check, described below.
    
-   `X-Easify-Timestamp`: when the request was sent, in Unix seconds.
    
-   `X-Easify-Event-Id`: stays the same when Easify retries an event. Use it to ignore repeats.
    
-   `X-Easify-Event-Time`: when the event happened. Events can arrive out of order, so use this to keep the newest status.
    

### Check the signature

Compute an HMAC-SHA256 of the raw request body with your secret key, write it as lowercase hex, then Base64-encode that hex text. Compare the result with `X-Easify-Signature` and reject the request if they differ or if the timestamp is more than 15 minutes old. An example in Node.js:

```javascript
const crypto = require('crypto');

function isValidEasifyWebhook(rawBody, signature, timestamp, secret) {
  const hex = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
  const expected = Buffer.from(Buffer.from(hex).toString('base64'));
  const received = Buffer.from(signature || '');
  const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) <= 900;
  return fresh && expected.length === received.length
    && crypto.timingSafeEqual(expected, received);
}
```

**Note:** Use the body exactly as received. If you parse the JSON and convert it back to text, the signature won't match.

### Respond quickly, and know when Easify retries

-   Answer with any 2xx status within 10 seconds. Do slow work after you respond.
    
-   Easify retries automatically only when it couldn't reach your server, or your server answered 429 (or 503 with a Retry-After header). Retries happen after about 1 minute, 5 minutes, 15 minutes and 1 hour.
    
-   Other errors are not retried, because your server may already have handled the event. To send one again, use **Re-trigger** in the webhook logs.
    
-   If a webhook has no successful delivery for 24 hours, Easify emails a warning once a day. After three warnings it pauses the webhook and the row shows **Paused**. Fix your endpoint, then click **Resume**.
    

## Check your logs

-   **API requests**: in the **Easify API Token** card, click **View Logs**. Easify API Logs shows each request, its status, and the full request and response.
    
-   **Webhook deliveries**: in the Webhooks card, click **View Logs** on a row (for example SMS Webhook Logs for Status Update). Open an entry to see what Easify sent and what your server answered, and use **Re-trigger** to send it again.
    

![Easify API Token card with the View Logs button marked](https://staticfiles.gleap.io/p6997121f1e0ded478c064ef9/pH6ZMwY62YRSyKuYjN4RxfASWk7telb9kIA9LUmJXDI0HG0oq1CIzPZ3wOng8V0mBJb0QhJfwTl.png)

## Troubleshooting

-   **Unauthenticated** (401): the token is missing, mistyped or was regenerated. Send it as `Authorization: Bearer YOUR_EASIFY_API_TOKEN` and make sure it's the Easify API Token, not the Dialer or External API Token.
    
-   **Access denied! Your IP or domain is not whitelisted.**: the message ends with the IP address Easify saw. Add that IP under **Whitelisted IP and Domains**, wait a minute and try again.
    
-   **You need to recharge your account to proceed** (402): recharge your account or renew your subscription.
    
-   **Your account is currently inactive.** (403): contact Easify support.
    
-   HTTP 490: the feature behind this endpoint isn't on your plan. Upgrade, or ask support which plan includes it.
    
-   **The country code field is required.**: add `country_code` to the request, for example `+1`.
    
-   **Too many requests. Try again in …** (429): you hit a rate limit. Slow down and retry after the time shown.
    
-   Webhook signatures never match: check that you Base64-encode the hex digest, not the raw digest bytes, and that you sign the raw body.
