Create a keep-in-touch cadence
POST /v2/keep-in-touch/cadences
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
{
"contact_id": "00000000-0000-0000-0000-000000000000",
"kind": "team",
"frequency_id": "00000000-0000-0000-0000-000000000000"
}
Responses
201 — Created
Content-Type: application/json
"team", "my"Example
{
"data": {
"cadence": {
"id": "00000000-0000-0000-0000-000000000000",
"kind": "team",
"contact_id": "00000000-0000-0000-0000-000000000000",
"frequency_id": "00000000-0000-0000-0000-000000000000",
"days": 0,
"next_due_at": "2026-10-23T10:31:51.470Z",
"snoozed_until": "2026-10-23T10:31:51.470Z",
"created_at": "2026-10-23T10:31:51.470Z",
"updated_at": "2026-10-23T10:31:51.470Z",
"contact": {
"id": "00000000-0000-0000-0000-000000000000",
"first_name": "string",
"last_name": "string",
"image_url": "string"
}
}
}
}
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 \
--request POST \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"contact_id": "00000000-0000-0000-0000-000000000000",
"kind": "team",
"frequency_id": "00000000-0000-0000-0000-000000000000"
}'
fetch('https://api.prod.getdex.com/v2/keep-in-touch/cadences', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
contact_id: '00000000-0000-0000-0000-000000000000',
kind: 'team',
frequency_id: '00000000-0000-0000-0000-000000000000'
})
})
requests.post(
"https://api.prod.getdex.com/v2/keep-in-touch/cadences",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
json={
"contact_id": "00000000-0000-0000-0000-000000000000",
"kind": "team",
"frequency_id": "00000000-0000-0000-0000-000000000000"
}
)
Delete a keep-in-touch frequency
Delete a frequency. When cadences use it, say what happens to them: `?cadences=move&move_to=<frequencyId>` moves them to another frequency (400 `invalid_move_target` otherwise) and `?cadences=delete`
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

