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
/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
teamIdstringrequiredYour Team ID.
phonestring· Bodyrequireddescriptionstring· BodyOptional. Why the number is blocked.
campaign_idsarray of string· BodyOptional. Campaign IDs to block the number in. Leave out to block it in every campaign.
Response
2 response fieldsShowHide
successbooleanSuccess
idstringDeny 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. Theerrorfield carries the message.
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"
]
}'{
"success": true,
"id": "e1494079-1173-478a-a5fd-8ca2d92cdb0d"
}List Deny List Entries
/api/make/deny-list/{teamId}Lists the entries on your deny list.
- Used by:
- Zapier: entry picker in Remove Number from Deny List
Parameters
teamIdstringrequiredYour Team ID.
Response
5 response fieldsShowHide
entries[].idstringEntry ID, for Remove Number from Deny List.
entries[].phonestringThe blocked number.
entries[].descriptionstringWhy it was blocked, or null.
entries[].campaign_idsarray of stringCampaigns it is blocked in; empty means every campaign.
entries[].created_atdatetimeWhen it was added.
Errors
401The API key is missing, wrong, or belongs to another team (Invalid API key).500Unexpected server error. Theerrorfield carries the message.
curl -X GET "https://try.saleso.io/api/make/deny-list/$SALESO_TEAM_ID" \
-H "x-api-key: $SALESO_API_KEY"{
"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
/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
teamIdstringrequiredYour Team ID.
idstring· QueryrequiredThe entry ID returned by Add Number to Deny List. This is not the phone number.
Response
1 response fieldShowHide
successbooleanSuccess
- 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. Theerrorfield carries the message.
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"{
"success": true
}