---
title: "Send an appointment alert test for the authorized workspace"
description: "Interactive requests require current membership; supplied workspace selectors must agree. Referenced triggers, flows and contacts must belong to that workspace; selected contacts also require existing contact visibility. Any supplied resource ID must be a hyphenated UUID string on the signed-in path."
---

> 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 › Actions

`POST /api/triggers/test-appointment-alert`

Interactive requests require current membership; supplied workspace selectors must agree. Referenced triggers, flows and contacts must belong to that workspace; selected contacts also require existing contact visibility. Any supplied resource ID must be a hyphenated UUID string on the signed-in path.

## Authentication

- `BearerAuth`, http, header `Authorization`, format `JWT`

## Header parameters

- `X-Workspace-Id` (`post/api/triggers/test-appointment-alert.header.X-Workspace-Id`; string, optional) — Selected workspace; any supplied query/body selector must match it.

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.channelautomation.com/api/triggers/test-appointment-alert \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/triggers/test-appointment-alert';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

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/triggers/test-appointment-alert"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
```

## Responses

### 200

Existing successful response

### 400

Missing or malformed workspace or resource input

### 401

Invalid or missing verified session

### 403

Membership

### 404

Resource not found in the authorized workspace

### 503

Identity


Source: https://developer.channelautomations.com/api/post-api-triggers-test-appointment-alert/index.md
