---
title: "Manage a trigger or its scheduled reminders"
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. Service calls require X-Trigger-Secret and X-Workspace-Id; source labels confer no authority. Both caller types pass workspace and resource checks; supplied appointments must belong to the selected contact. 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/process-date-distance`

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. Service calls require X-Trigger-Secret and X-Workspace-Id; source labels confer no authority. Both caller types pass workspace and resource checks; supplied appointments must belong to the selected contact. Any supplied resource ID must be a hyphenated UUID string on the signed-in path.

## Authentication

Requires one of the following:

- `BearerAuth`, http, header `Authorization`, format `JWT`
- `BackendTriggerAuth`, apiKey, in header, header `X-Trigger-Secret`

## Header parameters

- `X-Workspace-Id` (`post/api/triggers/process-date-distance.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/process-date-distance \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/triggers/process-date-distance';
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/process-date-distance"

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-process-date-distance/index.md
