---
title: "Stop follow-ups for a verified contact appointment"
description: "Requires the existing API-key/session gate or backend automation credential; public source labels no longer bypass authentication. All workspace selectors must agree. Automation requires an appointment; sessions/API keys may omit it. Any supplied appointment must belong to the URL contact. Existing session/API-key contact access is retained."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Sequences

`POST /api/workspaces/{workspaceId}/contacts/{contactId}/stop-sequences-on-appointment`

Requires the existing API-key/session gate or backend automation credential; public source labels no longer bypass authentication. All workspace selectors must agree. Automation requires an appointment; sessions/API keys may omit it. Any supplied appointment must belong to the URL contact. Existing session/API-key contact access is retained.

## Authentication

Requires one of the following:

- `BearerAuth`, http, header `Authorization`, format `JWT`
- `ApiKeyAuth`, apiKey, in header, header `X-API-Key`, format `API_KEY`
- `BackendTriggerAuth`, apiKey, in header, header `X-Trigger-Secret`

## Path parameters

- `workspaceId` (`post/api/workspaces/workspaceId/contacts/contactId/stop-sequences-on-appointment.path.workspaceId`; string, required)
- `contactId` (`post/api/workspaces/workspaceId/contacts/contactId/stop-sequences-on-appointment.path.contactId`; string, required)
  - format `uuid`

## Header parameters

- `X-Workspace-Id` (`post/api/workspaces/workspaceId/contacts/contactId/stop-sequences-on-appointment.header.X-Workspace-Id`; string, optional)

## Request body

_Optional._

- `appointmentId` (`post/api/workspaces/workspaceId/contacts/contactId/stop-sequences-on-appointment.appointmentId`; string, optional, nullable)
  - format `uuid`

## Example request

```json
{
  "appointmentId": "24c6adb3-18be-4108-aa61-3d58879e05a2"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.channelautomation.com/api/workspaces/<workspaceId>/contacts/<contactId>/stop-sequences-on-appointment' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "appointmentId": "24c6adb3-18be-4108-aa61-3d58879e05a2"
}
'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/workspaces/<workspaceId>/contacts/<contactId>/stop-sequences-on-appointment';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({appointmentId: '24c6adb3-18be-4108-aa61-3d58879e05a2'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/workspaces/<workspaceId>/contacts/<contactId>/stop-sequences-on-appointment"

payload = { "appointmentId": "24c6adb3-18be-4108-aa61-3d58879e05a2" }
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Existing cancellation result

### 400

Missing or malformed appointment

### 401

Invalid or missing caller identity

### 403

Workspace conflict or contact visibility denied

### 404

Appointment or contact not found for this workspace/contact

### 503

Identity


Source: https://developer.channelautomations.com/api/post-api-workspaces-workspace-id-contacts-contact-id-stop-sequences-on-appointment/index.md
