Your feed and removals
Read what a day's posts received and refused, and take a number back.
Read a day's posts
GET /api/vendor/v1/feed
What one ad's posts received and refused on one UTC day, in all and post by post.
Scope: leads:read. Status: 200. Try it in the API reference.
Request
| Field | In | Required | Description |
|---|---|---|---|
listing | query | Yes | The ad's id. |
day | query | Yes | The UTC day, YYYY-MM-DD, today or up to 31 days back. |
Example
curl "https://www.inyoke.com/api/vendor/v1/feed?listing=$LISTING_ID&day=2026-11-04" \
-H "Authorization: Bearer $API_KEY"Response
{
"listingId": "vnd-ad-3f9c2a7e1b4d8f60a5c2e4b7",
"day": "2026-11-04",
"received": 480,
"refused": 20,
"calls": [
{
"callId": "cm3p8k2ic0007",
"at": "2026-11-04T14:05:00.000Z",
"received": 480,
"refused": 20
}
]
}callslists that day's posts, oldest first, each by thecallIdits answer gave.- A row received and later refused, because its ad changed before it went in, counts in both.
- A retired ad's feed can still be read.
Refusals
| Status | Code | Reason | When |
|---|---|---|---|
422 | invalid | listing or day is missing, day isn't a real day, or it's ahead of today or more than 31 days back. | |
404 | not_found | ad_not_found | That ad isn't on your account. Another vendor's ad reads the same as one that doesn't exist. |
403 | forbidden | cant_read | Your account can't read this right now, usually because something is waiting to be signed. GET /me says why. |
Taking a number back
POST /removals takes one number off sale on all your ads, and answers 202 with { accepted: true } whatever it finds. A different answer would say whether a number is held.
A number already sold can't be taken back from the agency that bought it. Removing a sold number sends the platform a request, and no key can reach an agency.
A file still being read can bring a removed number back if the number is further down that file. Remove it again once the file has been read.
Take a number back
POST /api/vendor/v1/removals
Take one number off sale on all your ads. The answer is the same whatever is found.
Scope: leads:write. Status: 202. Try it in the API reference.
Request
| Field | In | Required | Description |
|---|---|---|---|
phone | body | Yes | One number, as text or as a JSON number. |
Request body
{
"phone": "(305) 555-0123"
}Example
curl -X POST "https://www.inyoke.com/api/vendor/v1/removals" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone":"(305) 555-0123"}'Response
{
"accepted": true
}- It answers
{ accepted: true }whether the number was on sale, still waiting, already sold, or never sent at all. - A number already sold stays sold: a sold lead can't be taken back from an agency. The removal goes to the platform as a request.
- A file still being read can bring the number back if it is further down that file. Remove it again once the file has been read.
- One number per call. It needs nothing signed.
Refusals
| Status | Code | Reason | When |
|---|---|---|---|
413 | invalid | The body is over 1 MB. | |
400 | invalid | The body isn't JSON. | |
422 | invalid | The body is JSON and doesn't fit the call. The message says what to fix, a key the call doesn't take included. | |
403 | forbidden | stopped | Your account is paused or suspended. Reads still work, and nothing can be sent until the platform lifts it. |
403 | forbidden | cant_post | Your account can't send anything right now. |