---
title: "Message in the Fulldev API"
description: "Every Message operation of the Fulldev API, with what it takes, what it answers and an example."
---

# Message in the Fulldev API

Every Message operation of the Fulldev API, with what it takes, what it answers and an example.

The reference comes straight from the API's own definition, so it always matches what the API does. [The OpenAPI document](https://app.full.dev/api/openapi.json)

## List conversations

`GET /api/v1/data/conversations`

Message's conversations with customers on email, WhatsApp and Slack, newest first. A private one (a Slack direct message or private channel) is its account owner's alone. One another organization shares with yours shows with sharedBy: you read it with its messages, and it alone replies in it and changes it. Filter by status (open or closed), unread, channel, useId (the account) or contacts (their email addresses or phone numbers). update marks one of your own open or closed, read or unread. Read its messages with the messages type and conversationId.

### Parameters

- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
- `cursor` (query, string, optional): The cursor the last page returned, for the next.
- `filter.status` (query, "open" | "closed", optional): Only rows whose status is this.
- `filter.unread` (query, "true" | "false", optional): Only rows whose unread is this.
- `filter.channel` (query, "email" | "whatsapp" | "slack" | "linkedin" | "bot", optional): Only rows whose channel is this.
- `filter.useId` (query, string (uuid), optional): Only rows whose useId is this.
- `filter.contacts` (query, string, optional): Only conversations with one of these contacts, at most 200: email addresses, or phone numbers in international format (+31 6 12345678, +31 (0)6 12345678 or 0031…); a local number such as 06… matches none.

### Response

- `items` (array of object, required)
  - `id` (string, required)
  - `useId` (string | null, required)
  - `channel` ("email" | "whatsapp" | "slack" | "linkedin" | "bot", required)
  - `contactName` (string | null, required)
  - `contactAddress` (string, required)
  - `subject` (string | null, required)
  - `private` (boolean, required)
  - `status` ("open" | "closed", required)
  - `unread` (boolean, required): Whether it is unread in your organization; one another organization shares with yours never is, as reading it is theirs.
  - `lastMessageAt` (string (date-time), required)
  - `lastInboundAt` (string (date-time) | null, required)
  - `preview` (string, required)
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `revision` (number, required)
  - `sharedBy` (string | null, required): The organization that owns it and shared it with yours, which alone replies in it and changes it; you read it. Null for your own.
  - `organizations` (array of object, optional): On get, for whoever may change it: the organizations yours works with, each with whether it is shared there (message_share_conversation); empty for a private one and one another organization shared.
    - `id` (string (uuid), required)
    - `name` (string, required)
    - `shared` (boolean, required): Whether the conversation is shared with it.
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.
- `cursor` (string, optional): The next page's cursor, while there is more.

### Example

```sh
curl "https://app.full.dev/api/v1/data/conversations" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Search conversations

`GET /api/v1/data/conversations/search`

### Parameters

- `q` (query, string, required): The words to find.
- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.

### Response

- `items` (array of object, required)
  - `id` (string, required)
  - `useId` (string | null, required)
  - `channel` ("email" | "whatsapp" | "slack" | "linkedin" | "bot", required)
  - `contactName` (string | null, required)
  - `contactAddress` (string, required)
  - `subject` (string | null, required)
  - `private` (boolean, required)
  - `status` ("open" | "closed", required)
  - `unread` (boolean, required): Whether it is unread in your organization; one another organization shares with yours never is, as reading it is theirs.
  - `lastMessageAt` (string (date-time), required)
  - `lastInboundAt` (string (date-time) | null, required)
  - `preview` (string, required)
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `revision` (number, required)
  - `sharedBy` (string | null, required): The organization that owns it and shared it with yours, which alone replies in it and changes it; you read it. Null for your own.
  - `organizations` (array of object, optional): On get, for whoever may change it: the organizations yours works with, each with whether it is shared there (message_share_conversation); empty for a private one and one another organization shared.
    - `id` (string (uuid), required)
    - `name` (string, required)
    - `shared` (boolean, required): Whether the conversation is shared with it.
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/conversations/search?q=words" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Change one of conversations

`PATCH /api/v1/data/conversations/{id}`

### Parameters

- `id` (path, string, required)
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (optional)

- `status` ("open" | "closed", optional)
- `unread` (boolean, optional)
- `revision` (integer, optional)

### Response

- `id` (string, required)
- `useId` (string | null, required)
- `channel` ("email" | "whatsapp" | "slack" | "linkedin" | "bot", required)
- `contactName` (string | null, required)
- `contactAddress` (string, required)
- `subject` (string | null, required)
- `private` (boolean, required)
- `status` ("open" | "closed", required)
- `unread` (boolean, required): Whether it is unread in your organization; one another organization shares with yours never is, as reading it is theirs.
- `lastMessageAt` (string (date-time), required)
- `lastInboundAt` (string (date-time) | null, required)
- `preview` (string, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `sharedBy` (string | null, required): The organization that owns it and shared it with yours, which alone replies in it and changes it; you read it. Null for your own.
- `organizations` (array of object, optional): On get, for whoever may change it: the organizations yours works with, each with whether it is shared there (message_share_conversation); empty for a private one and one another organization shared.
  - `id` (string (uuid), required)
  - `name` (string, required)
  - `shared` (boolean, required): Whether the conversation is shared with it.
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X PATCH "https://app.full.dev/api/v1/data/conversations/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Get one of conversations

`GET /api/v1/data/conversations/{id}`

### Parameters

- `id` (path, string, required)

### Response

- `id` (string, required)
- `useId` (string | null, required)
- `channel` ("email" | "whatsapp" | "slack" | "linkedin" | "bot", required)
- `contactName` (string | null, required)
- `contactAddress` (string, required)
- `subject` (string | null, required)
- `private` (boolean, required)
- `status` ("open" | "closed", required)
- `unread` (boolean, required): Whether it is unread in your organization; one another organization shares with yours never is, as reading it is theirs.
- `lastMessageAt` (string (date-time), required)
- `lastInboundAt` (string (date-time) | null, required)
- `preview` (string, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `sharedBy` (string | null, required): The organization that owns it and shared it with yours, which alone replies in it and changes it; you read it. Null for your own.
- `organizations` (array of object, optional): On get, for whoever may change it: the organizations yours works with, each with whether it is shared there (message_share_conversation); empty for a private one and one another organization shared.
  - `id` (string (uuid), required)
  - `name` (string, required)
  - `shared` (boolean, required): Whether the conversation is shared with it.
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/conversations/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## List messages

`GET /api/v1/data/messages`

The messages of Message's conversations, oldest first: a customer's (direction in) or the business's (out), with plain text, files, a reply's delivery status and who sent it (sentBy). In a conversation another organization shares with yours, the addresses of its people and accounts are left out. Filter by conversationId.

### Parameters

- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
- `cursor` (query, string, optional): The cursor the last page returned, for the next.
- `filter.conversationId` (query, string (uuid), optional): Only rows whose conversationId is this.

### Response

- `items` (array of object, required)
  - `id` (string, required)
  - `conversationId` (string, required)
  - `direction` ("in" | "out", required)
  - `fromName` (string | null, required)
  - `fromAddress` (string | null, required)
  - `to` (array of string, required)
  - `cc` (array of string, required)
  - `subject` (string | null, required)
  - `at` (string (date-time), required)
  - `text` (string, required)
  - `truncated` (boolean, required)
  - `kind` (string, required)
  - `attachments` (array of object, required)
    - `name` (string, required)
    - `mimeType` (string, required)
    - `size` (number | null, required)
    - `ref` (string, required)
  - `status` ("planned" | "sending" | "sent" | "delivered" | "read" | "failed" | "unconfirmed" | "canceled" | "deleted" | null, required)
  - `category` (string | null, required)
  - `error` (string | null, required)
  - `sentBy` (object | null, required): Who sent a reply from Message, by name and photo, never their address.
    - `name` (string, required)
    - `photo` (string | null, required)
    - `organization` (string | null, required): Their organization, when that is another than yours.
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.
- `cursor` (string, optional): The next page's cursor, while there is more.

### Example

```sh
curl "https://app.full.dev/api/v1/data/messages" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Get one of messages

`GET /api/v1/data/messages/{id}`

### Parameters

- `id` (path, string, required)

### Response

- `id` (string, required)
- `conversationId` (string, required)
- `direction` ("in" | "out", required)
- `fromName` (string | null, required)
- `fromAddress` (string | null, required)
- `to` (array of string, required)
- `cc` (array of string, required)
- `subject` (string | null, required)
- `at` (string (date-time), required)
- `text` (string, required)
- `truncated` (boolean, required)
- `kind` (string, required)
- `attachments` (array of object, required)
  - `name` (string, required)
  - `mimeType` (string, required)
  - `size` (number | null, required)
  - `ref` (string, required)
- `status` ("planned" | "sending" | "sent" | "delivered" | "read" | "failed" | "unconfirmed" | "canceled" | "deleted" | null, required)
- `category` (string | null, required)
- `error` (string | null, required)
- `sentBy` (object | null, required): Who sent a reply from Message, by name and photo, never their address.
  - `name` (string, required)
  - `photo` (string | null, required)
  - `organization` (string | null, required): Their organization, when that is another than yours.
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/messages/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## List templates

`GET /api/v1/data/templates`

Message's WhatsApp message templates of an account (accountId): a body with named variables such as {{name}}, an example value for each (examples), a language (nl or en) and the proposed category (utility or marketing). create makes a draft; update changes a draft or a failed one; submit_template asks Meta's review, whose status (pending, approved, rejected, paused, disabled), reason and category are Meta's. send_whatsapp sends an approved one.

### Parameters

- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
- `cursor` (query, string, optional): The cursor the last page returned, for the next.
- `filter.accountId` (query, string (uuid), optional): Only rows whose accountId is this.
- `filter.status` (query, "draft" | "submitting" | "pending" | "approved" | "rejected" | "paused" | "disabled" | "failed", optional): Only rows whose status is this.

### Response

- `items` (array of object, required)
  - `id` (string, required)
  - `accountId` (string, required)
  - `channel` ("whatsapp", required)
  - `name` (string, required)
  - `language` ("nl" | "en", required)
  - `body` (string, required)
  - `variables` (array of string, required)
  - `examples` (map of string, required)
  - `proposedCategory` ("utility" | "marketing", required)
  - `status` ("draft" | "submitting" | "pending" | "approved" | "rejected" | "paused" | "disabled" | "failed", required)
  - `reason` (string | null, required)
  - `category` (string | null, required)
  - `nextCategory` (string | null, required)
  - `categoryChangesAt` (string (date-time) | null, required)
  - `submittedAt` (string (date-time) | null, required)
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `revision` (number, required)
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.
- `cursor` (string, optional): The next page's cursor, while there is more.

### Example

```sh
curl "https://app.full.dev/api/v1/data/templates" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Create one of templates

`POST /api/v1/data/templates`

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `accountId` (string (uuid), required)
- `name` (string, required)
- `language` ("nl" | "en", required)
- `body` (string, required)
- `examples` (map of string, optional)
- `proposedCategory` ("utility" | "marketing", optional)

### Response

- `id` (string, required)
- `accountId` (string, required)
- `channel` ("whatsapp", required)
- `name` (string, required)
- `language` ("nl" | "en", required)
- `body` (string, required)
- `variables` (array of string, required)
- `examples` (map of string, required)
- `proposedCategory` ("utility" | "marketing", required)
- `status` ("draft" | "submitting" | "pending" | "approved" | "rejected" | "paused" | "disabled" | "failed", required)
- `reason` (string | null, required)
- `category` (string | null, required)
- `nextCategory` (string | null, required)
- `categoryChangesAt` (string (date-time) | null, required)
- `submittedAt` (string (date-time) | null, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/data/templates" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "accountId": "00000000-0000-4000-8000-000000000000",
  "name": "name",
  "language": "nl",
  "body": "body"
}'
```

## Search templates

`GET /api/v1/data/templates/search`

### Parameters

- `q` (query, string, required): The words to find.
- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.

### Response

- `items` (array of object, required)
  - `id` (string, required)
  - `accountId` (string, required)
  - `channel` ("whatsapp", required)
  - `name` (string, required)
  - `language` ("nl" | "en", required)
  - `body` (string, required)
  - `variables` (array of string, required)
  - `examples` (map of string, required)
  - `proposedCategory` ("utility" | "marketing", required)
  - `status` ("draft" | "submitting" | "pending" | "approved" | "rejected" | "paused" | "disabled" | "failed", required)
  - `reason` (string | null, required)
  - `category` (string | null, required)
  - `nextCategory` (string | null, required)
  - `categoryChangesAt` (string (date-time) | null, required)
  - `submittedAt` (string (date-time) | null, required)
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `revision` (number, required)
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/templates/search?q=words" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Change one of templates

`PATCH /api/v1/data/templates/{id}`

### Parameters

- `id` (path, string, required)
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (optional)

- `name` (string, optional)
- `language` ("nl" | "en", optional)
- `body` (string, optional)
- `examples` (map of string, optional)
- `proposedCategory` ("utility" | "marketing", optional)
- `revision` (integer, optional)

### Response

- `id` (string, required)
- `accountId` (string, required)
- `channel` ("whatsapp", required)
- `name` (string, required)
- `language` ("nl" | "en", required)
- `body` (string, required)
- `variables` (array of string, required)
- `examples` (map of string, required)
- `proposedCategory` ("utility" | "marketing", required)
- `status` ("draft" | "submitting" | "pending" | "approved" | "rejected" | "paused" | "disabled" | "failed", required)
- `reason` (string | null, required)
- `category` (string | null, required)
- `nextCategory` (string | null, required)
- `categoryChangesAt` (string (date-time) | null, required)
- `submittedAt` (string (date-time) | null, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X PATCH "https://app.full.dev/api/v1/data/templates/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Get one of templates

`GET /api/v1/data/templates/{id}`

### Parameters

- `id` (path, string, required)

### Response

- `id` (string, required)
- `accountId` (string, required)
- `channel` ("whatsapp", required)
- `name` (string, required)
- `language` ("nl" | "en", required)
- `body` (string, required)
- `variables` (array of string, required)
- `examples` (map of string, required)
- `proposedCategory` ("utility" | "marketing", required)
- `status` ("draft" | "submitting" | "pending" | "approved" | "rejected" | "paused" | "disabled" | "failed", required)
- `reason` (string | null, required)
- `category` (string | null, required)
- `nextCategory` (string | null, required)
- `categoryChangesAt` (string (date-time) | null, required)
- `submittedAt` (string (date-time) | null, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `revision` (number, required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/templates/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## reply

`POST /api/v1/actions/reply`

Replies in one of Message's conversations, by its conversationId, in its own channel: an email in its Gmail thread, a WhatsApp text within 24 hours of the customer's last message, or a Slack message as the account's owner (only they can send it). Pass clientKey, a UUID of your own, to make a retry answer the same reply. A reply whose answer was lost is unconfirmed and never sent again; check it before writing it again. Returns the message with its status.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `conversationId` (string (uuid), required)
- `text` (string, required)
- `clientKey` (string (uuid), optional)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## share_conversation

`POST /api/v1/actions/share_conversation`

Shares one of Message's conversations with another organization, or stops sharing it (shared false), for whoever changes it in its own organization: only with an organization yours works with (organizations in its get), and never a private one. Nothing is shared until you do. There its people with Message read it in Message with its messages and files and sharedBy, your organization's name, never the addresses of your people; replying, closing, reading it, sharing and removing stay yours. Stopping ends that organization's access at once.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `conversationId` (string (uuid), required): The conversation of your organization.
- `organizationId` (string (uuid), required): The organization: one yours works with, as a conversation's get lists them under organizations.
- `shared` (boolean, required): true shares it, false stops sharing it, which ends that organization's access at once.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## send_email

`POST /api/v1/actions/send_email`

Sends a plain text email: from a Message account's Gmail address (accountId), kept in its conversation with the recipient, or without accountId from Fulldev's own address. category is service, utility or marketing; nobody who stopped these emails receives it. Pass clientKey, a UUID of your own, to make a retry answer the same email. Returns its id and status.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `accountId` (string (uuid), optional)
- `to` (string (email), required)
- `subject` (string, required)
- `text` (string, required)
- `category` ("service" | "utility" | "marketing", optional)
- `clientKey` (string (uuid), optional)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
# Once per message, saved with it: the same on every retry, also with a
# new API key, as Idempotency-Key and clientKey.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/actions/send_email" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "name@example.com",
  "subject": "subject",
  "text": "text",
  "clientKey": "'"$IDEMPOTENCY_KEY"'"
}'
```

## send_whatsapp

`POST /api/v1/actions/send_whatsapp`

Sends a WhatsApp message from one of a Message account's numbers (accountId, phoneNumberId) to a number in international format (to, such as +31612345678): a text only within 24 hours of the customer's last message, otherwise an approved template by name and language with its named parameters. category is service, utility or marketing; nobody who stopped messages, or marketing for a marketing message, receives it. Pass clientKey, a UUID of your own, to make a retry answer the same message. Returns the message with its status.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `accountId` (string (uuid), required)
- `phoneNumberId` (string, required)
- `to` (string, required)
- `category` ("service" | "utility" | "marketing", optional)
- `text` (string, optional)
- `template` (object, optional)
  - `name` (string, required)
  - `language` (string, required)
  - `parameters` (map of string, optional)
- `clientKey` (string (uuid), optional)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
# Once per message, saved with it: the same on every retry, also with a
# new API key, as Idempotency-Key and clientKey.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/actions/send_whatsapp" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "accountId": "00000000-0000-4000-8000-000000000000",
  "phoneNumberId": "123456789012345",
  "to": "+31612345678",
  "text": "text",
  "clientKey": "'"$IDEMPOTENCY_KEY"'"
}'
```

## submit_template

`POST /api/v1/actions/submit_template`

Submits a draft or failed WhatsApp template, by its templateId, for Meta's review, by an owner or admin. Meta answers pending at first; its review arrives later on the template. Every variable needs an example value. A submission whose answer was lost stays submitting and is never sent again; check the template before making a new one.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `templateId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## check_template

`POST /api/v1/actions/check_template`

Reads a submitted WhatsApp template's review from Meta again, by its templateId, and keeps it: its status, category and a rejection's reason. Meta's webhook reports reviews too; this is for a template that seems stuck. Returns the template.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `templateId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## deliver

`POST /api/v1/actions/deliver`

Delivers a plain-text item (sender, title, text) into your own private conversations in Message, for you alone. Use a new UUID key per item; a retry with the same key and identical content answers the same item, and different content under a used key is refused. The sender is a self-reported label. It reads and writes no other conversation. Returns the conversation's and message's ids and whether it was new.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `key` (string (uuid), required)
- `sender` (string, required)
- `title` (string, required)
- `text` (string, required)

### Response

- `conversationId` (string (uuid), required)
- `messageId` (string (uuid), required)
- `created` (boolean, required)

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## add_message_account

`POST /api/v1/actions/add_message_account`

Adds one of your own Google, WhatsApp or Slack integrations (integrationId) to Message as an account of the organization, with your membership as its consent, for owners and admins in person. Adding it again renews the consent and keeps its conversations. Answers the account's id and provider.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `integrationId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## remove_message_account

`POST /api/v1/actions/remove_message_account`

Removes an account from Message, by its accountId, with all its conversations; the integration itself stays in Fulldev, under Integrations. For owners, admins and the person who added it. Answers whether it was removed; repeating it changes nothing.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `accountId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## set_message_account_access

`POST /api/v1/actions/set_message_account_access`

Sets whether a member (memberId) may read and answer one of Message's accounts (accountId), for owners and admins; owners and admins always may. Answers the organization's members with Message and whether each may.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `accountId` (string (uuid), required)
- `memberId` (string (uuid), required)
- `allowed` (boolean, required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## test_email_forwarding

`POST /api/v1/actions/test_email_forwarding`

Emails a test to the mailbox of your own Gmail account in Message (accountId), which verifies its forwarding once it comes back to the account's address. Only for the person who added the account, one test every two minutes. Answers the account's forwarding with the test's state.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `accountId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## save_message_workflow

`POST /api/v1/actions/save_message_workflow`

Makes one of Message's workflows, or changes one by its workflowId and the revision you read: a WhatsApp template (api_message) or an email (api_email) another system asks for by its key, with a value for every variable, each on or off and with an approval before each send when asked. For owners and admins in person, who become its maker: it runs as them. Answers the workflow with its settings.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `workflowId` (string (uuid), optional)
- `revision` (integer, optional)
- `workflow` (object, required)
  - One of these shapes:
    - Shape 1:
      - `kind` ("api_message", required)
      - `name` (string, required)
      - `active` (boolean, required)
      - `key` (string, required)
      - `accountId` (string (uuid), required): The WhatsApp account that sends it.
      - `phoneNumberId` (string, required)
      - `template` (string, required)
      - `language` ("nl" | "en", required)
      - `approve` (boolean, optional)
    - Shape 2:
      - `kind` ("api_email", required)
      - `name` (string, required)
      - `active` (boolean, required)
      - `key` (string, required)
      - `accountId` (string (uuid), required): The Gmail account that sends it.
      - `subject` (string, required): May name variables, such as {{order_number}}.
      - `text` (string, required): May name variables, such as {{order_number}}.
      - `approve` (boolean, optional)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## List inbox's instances

`GET /api/v1/services/inbox`

Message's inbox: the accounts whose messages come into Message, such as Slack and WhatsApp, and for a Slack account the channels (or every one) and direct messages that come in, which only the person who added it chooses.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
curl "https://app.full.dev/api/v1/services/inbox" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Get inbox's settings and status

`GET /api/v1/services/inbox/{id}`

Message's inbox: the accounts whose messages come into Message, such as Slack and WhatsApp, and for a Slack account the channels (or every one) and direct messages that come in, which only the person who added it chooses.

### Parameters

- `id` (path, string, required)

### Response

- `settings` (object, required)
  - `channels` (array of string, optional): Slack: the ids of the channels that come in, of those the account's owner is in; with allChannels, every one.
  - `allChannels` (boolean, optional): Slack: whether every channel the owner is in comes in, also one they join later, with its messages of the last 90 days, which come in gradually as Slack allows.
  - `directMessages` (boolean, optional): Slack: whether the owner's direct and group messages come in, from when they are let in.
- `status` (object, required)
  - `provider` (string, required)
  - `own` (boolean, required): Whether the caller added the account.
  - `ready` (boolean, required): Whether messages come in now; false needs a reconnect.
  - `channels` (array of object, optional): Slack: the channels the owner is in now, to choose from.
    - `id` (string, required)
    - `name` (string, required)
    - `kind` ("channel" | "group", required)
    - `shared` (boolean, required)

### Example

```sh
curl "https://app.full.dev/api/v1/services/inbox/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Change inbox's settings

`PATCH /api/v1/services/inbox/{id}`

### Parameters

- `id` (path, string, required)
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (optional)

- `channels` (array of string, optional): Slack: the ids of the channels that come in, of those the account's owner is in; with allChannels, every one.
- `allChannels` (boolean, optional): Slack: whether every channel the owner is in comes in, also one they join later, with its messages of the last 90 days, which come in gradually as Slack allows.
- `directMessages` (boolean, optional): Slack: whether the owner's direct and group messages come in, from when they are let in.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X PATCH "https://app.full.dev/api/v1/services/inbox/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
