דלג לתוכן הראשי
Reference indexShow

API reference

Deny List

A number on the deny list is not dialed, in every campaign or only in the campaigns you choose. Entries are identified by their own ID, not by the phone number.

Add Number to Deny List

POST/api/make/deny-list/{teamId}

Adds a phone number to the do-not-call deny list, for all campaigns or only the ones you choose.

Used by:
Make: Add Deny List Item · Zapier: Add Number to Deny List

Parameters

  • teamIdstringrequired

    Your Team ID.

  • phonestring· Bodyrequired
  • descriptionstring· Body

    Optional. Why the number is blocked.

  • campaign_idsarray of string· Body

    Optional. Campaign IDs to block the number in. Leave out to block it in every campaign.

Response

2 response fieldsShow
  • successboolean

    Success

  • idstring

    Deny List Entry ID

Errors

  • 400Missing required field: phone, Invalid phone number, invalid JSON.
  • 401The API key is missing, wrong, or belongs to another team (Invalid API key).
  • 500Unexpected server error. The error field carries the message.
Request
curl -X POST "https://try.saleso.io/api/make/deny-list/$SALESO_TEAM_ID" \
  -H "x-api-key: $SALESO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "0501234567",
  "description": "Asked not to be called",
  "campaign_ids": [
    "015fc401-4a09-4352-b538-0964b7fec075"
  ]
}'
Response · 200
{
  "success": true,
  "id": "e1494079-1173-478a-a5fd-8ca2d92cdb0d"
}

List Deny List Entries

GET/api/make/deny-list/{teamId}

Lists the entries on your deny list.

Used by:
Zapier: entry picker in Remove Number from Deny List

Parameters

  • teamIdstringrequired

    Your Team ID.

Response

5 response fieldsShow
  • entries[].idstring

    Entry ID, for Remove Number from Deny List.

  • entries[].phonestring

    The blocked number.

  • entries[].descriptionstring

    Why it was blocked, or null.

  • entries[].campaign_idsarray of string

    Campaigns it is blocked in; empty means every campaign.

  • entries[].created_atdatetime

    When it was added.

Errors

  • 401The API key is missing, wrong, or belongs to another team (Invalid API key).
  • 500Unexpected server error. The error field carries the message.
Request
curl -X GET "https://try.saleso.io/api/make/deny-list/$SALESO_TEAM_ID" \
  -H "x-api-key: $SALESO_API_KEY"
Response · 200
{
  "entries": [
    {
      "id": "2c7e9a41-5d3b-4f86-b0a2-91e4c8d7f356",
      "phone": "0501234567",
      "description": "Asked not to be called",
      "campaign_ids": [],
      "created_at": "2026-10-22T09:30:00.000Z"
    }
  ]
}

Remove Number from Deny List

DELETE/api/make/deny-list/{teamId}

Removes an entry from the do-not-call deny list by its entry ID.

Used by:
Make: Remove Deny List Item · Zapier: Remove Number from Deny List

Parameters

  • teamIdstringrequired

    Your Team ID.

  • idstring· Queryrequired

    The entry ID returned by Add Number to Deny List. This is not the phone number.

Response

1 response fieldShow
  • successboolean

    Success

  • The ID can also be sent in a JSON body as {"id": "…"}. Removing an ID that is not on the list still returns success.

Errors

  • 400Missing required field: id.
  • 401The API key is missing, wrong, or belongs to another team (Invalid API key).
  • 500Unexpected server error. The error field carries the message.
Request
curl -X DELETE "https://try.saleso.io/api/make/deny-list/$SALESO_TEAM_ID?id=5fd901a4-7454-47c8-a696-11755eb5760d" \
  -H "x-api-key: $SALESO_API_KEY"
Response · 200
{
  "success": true
}