Delete keep-in-touch cadences in bulk
POST /v2/keep-in-touch/cadences/batch-delete
Parameters
Header parameters
apps/rest-api/src/shared/idempotency.ts for the full contract. Missing → 400 BadRequest; same key + different body → 409 Conflict.Request body
Content-Type: application/json
"team", "my"Example
{
"kind": "team",
"contact_ids": [
"00000000-0000-0000-0000-000000000000"
]
}
Responses
200 — Successful response
Content-Type: application/json
Example
{
"data": {
"affected": 0,
"ids": [
"00000000-0000-0000-0000-000000000000"
],
"contact_ids": [
"00000000-0000-0000-0000-000000000000"
],
"not_found_contact_ids": [
"00000000-0000-0000-0000-000000000000"
]
}
}
400 — Request body failed validation.
Content-Type: application/json
401 — Missing or invalid API key.
Content-Type: application/json
403 — Valid key, insufficient permission.
Content-Type: application/json
404 — Resource does not exist.
Content-Type: application/json
409 — Request conflicts with the current state of the resource.
Content-Type: application/json
429 — Rate limit exceeded.
Content-Type: application/json
500 — Unexpected server error.
Content-Type: application/json
Code samples
curl https://api.prod.getdex.com/v2/keep-in-touch/cadences/batch-delete \
--request POST \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"kind": "team",
"contact_ids": [
"00000000-0000-0000-0000-000000000000"
]
}'
fetch('https://api.prod.getdex.com/v2/keep-in-touch/cadences/batch-delete', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
kind: 'team',
contact_ids: ['00000000-0000-0000-0000-000000000000']
})
})
requests.post(
"https://api.prod.getdex.com/v2/keep-in-touch/cadences/batch-delete",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"kind": "team",
"contact_ids": [
"00000000-0000-0000-0000-000000000000"
]
}
)
Add keep-in-touch cadences in bulk
Add the Team cadence (`kind: 'team'`; owners, admins and standard members) or the caller's own My cadence (`kind: 'my'`; every member, viewers included) on one frequency to up to 1000 contacts (`conta
Change a cadence frequency
Move a cadence to another frequency of the workspace; its due date is recomputed. A Team cadence needs owner, admin or standard; a My cadence must be the caller's own (another member's is a 404). 400

