The older routes — /api/crm/*, /api/assistants, /api/tts-voices and the rest — still work with an API key, and will keep working until the sunset date in their Sunset header. They now answer with:
Deprecation: true Sunset: <date> Link: <https://app.talkturo.com/docs/api/migrating>; rel="deprecation"
If you see those headers in your logs, this page is what to do about it.
Why move
The old routes take an API key but check no scope and no rate limit, have no idempotency, and their answers differ from endpoint to endpoint. v1 has one gate, one shape, one error catalogue, and a request log you can read in the app. When the old path is switched off, a tk_ key on those routes answers 401 — moving before then is the whole point of the window.
The table
| Old | v1 | Worth knowing |
|---|---|---|
GET /api/crm/campaigns | GET /v1/campaigns | Now { data, next_cursor } and paged |
POST /api/crm/campaigns | POST /v1/campaigns | Same rules; answers 201 with the campaign |
POST /api/crm/campaigns/{id}/contacts | POST /v1/campaigns/{id}/contacts | Now an answer per person, not totals |
POST /api/crm/campaigns/{id}/run | POST /v1/campaigns/{id}/start | Also /pause, /resume, /cancel |
| — | GET /v1/campaigns/{id}/contacts | New: where everybody stands |
| — | DELETE /v1/campaigns/{id}/contacts/{contact_id} | New: take somebody out |
GET /api/crm/contacts | GET /v1/contacts | Paged; search, phone, email, group_id |
POST /api/crm/contacts | POST /v1/contacts | Still de-duplicated by phone |
DELETE /api/crm/contacts | DELETE /v1/contacts/{id} | One at a time, and 204 |
| — | GET /v1/contacts/{id}, PATCH /v1/contacts/{id} | New |
GET /api/crm/groups | GET /v1/groups | Paged |
POST /api/crm/groups | POST /v1/groups | 201; a name in use is 409 |
GET /api/crm/groups/{id}/contacts | GET /v1/groups/{id}/contacts | Paged, full contacts |
POST /api/crm/groups/{id}/contacts | POST /v1/groups/{id}/contacts | An answer per contact |
DELETE /api/crm/groups/{id}/contacts | DELETE /v1/groups/{id}/contacts | Ids in the body |
POST /api/crm/calls | POST /v1/calls | Idempotency-Key required |
POST /api/assistants | POST /v1/assistants | 201; inbound and outbound start off |
GET /api/assistants/{id} | GET /v1/assistants/{id} | Secrets and provisioning ids are no longer returned |
PATCH /api/assistants/{id} | PATCH /v1/assistants/{id} | Another workspace's id is 404, not 403 |
GET /api/tts-voices | GET /v1/voices | Paged; your cloned voices included, nobody else's |
GET /api/voice-providers/models | GET /v1/models | LLM, transcriber and realtime in one answer |
What changes in your code
1. The workspace comes from the key. Drop teamId and accountId from bodies and query strings. v1 ignores them.
2. Lists are paged. An old route that returned everything now returns 25 by default. See Paging.
3. Errors have one shape. { "error": { "code", "message", "request_id", "details" } }. Branch on code; the old routes' bare { "error": "some text" } is gone. See Errors.
4. POSTs that change something need Idempotency-Key. See Idempotency.
5. Scopes. An old key with * keeps working. A new key needs the scopes for what it does — see Authentication and scopes.
6. Adding people answers per person. Where the old route said how many went in, v1 says what happened to each one:
{
"added": 2,
"total": 4,
"results": [
{ "contact_id": "c3a9…", "phone": "+4915112345678", "result": "added" },
{ "contact_id": "d41f…", "phone": "+4915198765432", "result": "already_in_campaign" },
{ "contact_id": null, "phone": "0151 2345678", "result": "invalid_phone" },
{ "contact_id": "b8e2…", "phone": "+4915155555555", "result": "do_not_call" }
]
}
The answers come back in the order you sent them, so you can line them up against your own rows without matching on anything.
No v1 version — and no key, once the old path is switched off
These have no v1 equivalent. They work with a key today, and will until the switch-off date. After it, an API key stops reaching them entirely — they keep working inside the app, for a signed-in person, but not from your code:
- knowledge base —
/api/assistants/{id}/knowledge-base,/api/kb/* - companies —
/api/crm/companies - phone numbers —
/api/phone-numbers/search,/api/phone-numbers/purchase /api/improve-prompt- telephony —
/api/assistants/{id}/telephony/phone-numbers
If you use any of these, tell us before the sunset date. Which of them get a v1 version, and when, is a decision that is still open, and what customers actually call is what decides it.
API key management (/api/api-keys) is a deliberate exception: it will need a signed-in person, and no API key, because a key that can create more keys is a key that never really expires. Create and revoke keys in Settings → API keys.
What a refused key looks like
Once the old path is off, calling one of those routes with a key answers:
{
"error": {
"code": "api_key_not_accepted",
"message": "API keys are not accepted on this endpoint. Use the v1 API at /api/v1 instead.",
"docs": "https://app.talkturo.com/docs/api/migrating"
}
}
The key itself is fine — it still works on /api/v1. The endpoint is simply not part of the public API any more.
A sensible order
- Create a new key with only the scopes you need, and keep the old one.
- Move your reads first: lists and single reads, where the only change is paging and the error shape.
- Move your writes, adding
Idempotency-Keyas you go. - Watch Settings → API keys → Request log to confirm nothing still calls the old routes, then revoke the old key.