---
title: "Posting with the API | Maeve Social"
description: "Find a connected account, then create, schedule, publish, update, and delete a post with the public API."
url: "https://maevesocial.com/guides/api-cli-and-mcp/posting-with-the-api"
---

On this page

1. [Home](https://maevesocial.com/)
2. [Guides](https://maevesocial.com/guides)
3. [API, CLI and MCP](https://maevesocial.com/guides/api-cli-and-mcp)
4. Posting with the API

# Posting with the API

Updated December 1, 2026

Use the content routes to create a post for one connected social account. A post saves as a draft unless you ask to schedule it or publish it now.

You need an [API key](https://maevesocial.com/guides/api-cli-and-mcp/api-keys) and a workspace ID. See [The Public API](https://maevesocial.com/guides/api-cli-and-mcp/the-public-api) for listing workspaces, response formats, pagination, and rate limits.

## Find the Connected Account

List the workspace's connected social accounts:

```
curl --fail-with-body "https://api.maevesocial.com/v1/workspaces/$WORKSPACE_ID/integrations" \
  -H "Authorization: Bearer $MAEVE_API_KEY"
```

```
{
  "data": [
    {
      "id": "integration-uuid",
      "platform": "instagram",
      "username": "your_handle",
      "name": "Your Account Name",
      "status": "connected"
    }
  ],
  "meta": null
}
```

Set `INTEGRATION_ID` to the `id` of the account you want to post to. An account whose status is `requires_reauth`, `disabled`, or `auth_incomplete` needs attention in the Maeve app before it can publish.

To check what an account accepts, such as post types, media limits, and platform settings, request its capabilities:

```
GET /v1/workspaces/{workspaceId}/integrations/{integrationId}/capabilities
```

## Create a Post

Send one request per connected account. There is no bulk create route.

```
curl --fail-with-body "https://api.maevesocial.com/v1/workspaces/$WORKSPACE_ID/content" \
  -H "Authorization: Bearer $MAEVE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "integrationId": "'"$INTEGRATION_ID"'",
    "intent": "schedule",
    "scheduledAt": "2027-01-01T12:00:00+10:00",
    "captions": {
      "canonical": "Hello from the Maeve API!"
    }
  }'
```

```
{
  "data": {
    "id": "content-uuid",
    "status": "scheduled",
    "appUrl": "https://app.maevesocial.com/workspace/content/content-uuid"
  },
  "meta": null
}
```

`appUrl` opens the post in Maeve, so your tool can send someone straight to it.

| Field            | Required        | Description                                                     |
| ---------------- | --------------- | --------------------------------------------------------------- |
| `integrationId`  | Yes             | The connected account to post to                                |
| `intent`         | No              | `draft`, `schedule`, or `publish_now`. Defaults to `draft`      |
| `scheduledAt`    | With `schedule` | ISO 8601 date and time, including the timezone offset           |
| `captions`       | No              | The `canonical` caption and optional per-platform `overrides`   |
| `contentMedia`   | No              | Media to attach, by `mediaId`                                   |
| `firstComment`   | No              | A first comment, where the platform supports one                |
| `postType`       | No              | `post`, `reel`, `story`, `thread`, or `poll`                    |
| `internalTitle`  | No              | A planning title that is not sent to the platform               |
| `publishTitle`   | No              | A title for platforms that show or require one                  |
| `notes`          | No              | Internal notes                                                  |
| `settings`       | No              | Platform settings, such as YouTube privacy or a Pinterest board |
| `threadMessages` | No              | Up to 20 replies that follow the first post                     |

The request also accepts labels, pillars, formats, a campaign, a priority, and assignees. The [API reference](https://api.maevesocial.com/docs) lists every field and the settings each platform accepts.

## Choose Draft, Schedule, or Publish Now

| `intent`           | Result                                 |
| ------------------ | -------------------------------------- |
| Omitted or `draft` | Saves a draft                          |
| `schedule`         | Schedules the post for `scheduledAt`   |
| `publish_now`      | Queues the post to publish immediately |

Approval workflows still apply

A draft always saves. If a required approval workflow covers the post, a request to schedule or publish it returns `REVIEW_REQUIRED` with the workflow's name. Send the post for review instead.

## Write Different Captions per Platform

`captions.canonical` is the default caption. Add an override when a platform needs different copy:

```
{
  "captions": {
    "canonical": "Default copy",
    "overrides": {
      "instagram": "Instagram-specific copy",
      "linkedin": "LinkedIn-specific copy"
    }
  }
}
```

Override keys are `x`, `linkedin`, `linkedin-page`, `youtube`, `instagram`, `facebook`, `threads`, `tiktok`, `pinterest`, and `google-business-profile`.

## Attach Media

[Upload the file](https://maevesocial.com/guides/api-cli-and-mcp/uploading-media-with-the-api) first, then reference it by ID in `contentMedia`:

```
{
  "contentMedia": [
    { "mediaId": "media-uuid", "order": 0 }
  ]
}
```

Instagram and LinkedIn posts accept up to 20 files. Other platforms accept 10.

## Create a Thread

Add `threadMessages` for the replies that follow the first post. Each reply has its own captions and can have its own media:

```
{
  "integrationId": "integration-uuid",
  "captions": { "canonical": "Thread opener" },
  "threadMessages": [
    { "captions": { "canonical": "Second post" } },
    {
      "captions": { "canonical": "Third post" },
      "contentMedia": [{ "mediaId": "media-uuid" }]
    }
  ]
}
```

## List and Read Posts

```
curl --fail-with-body "https://api.maevesocial.com/v1/workspaces/$WORKSPACE_ID/content?status=scheduled&limit=10" \
  -H "Authorization: Bearer $MAEVE_API_KEY"
```

| Parameter       | Default                                    | Description                                            |
| --------------- | ------------------------------------------ | ------------------------------------------------------ |
| `status`        | `draft`, `scheduled`, `sent`, and `failed` | Filter by one status                                   |
| `integrationId` | None                                       | Filter by connected account                            |
| `sortBy`        | Set by the API                             | `createdAt`, `updatedAt`, `scheduledAt`, or `priority` |
| `sortDirection` | Set by the API                             | `asc` or `desc`                                        |
| `limit`         | 20                                         | Results per page, from 1 to 100                        |
| `offset`        | 0                                          | Number of results to skip                              |

Posts held for review are left out unless you add the review filters shown in the API reference.

To read one post with its account, media, thread replies, and settings:

```
GET /v1/workspaces/{workspaceId}/content/{id}
```

## Update or Reschedule a Post

You can update a draft or a scheduled post. Only the fields you send change:

```
curl --fail-with-body -X PATCH "https://api.maevesocial.com/v1/workspaces/$WORKSPACE_ID/content/$CONTENT_ID" \
  -H "Authorization: Bearer $MAEVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "captions": { "canonical": "Updated copy" } }'
```

To schedule a draft or move a scheduled post, send the new time to the schedule route:

```
PATCH /v1/workspaces/{workspaceId}/content/{id}/schedule
```

```
{ "scheduledAt": "2027-06-01T12:00:00+10:00" }
```

## Publish a Post Now

```
curl --fail-with-body -X POST "https://api.maevesocial.com/v1/workspaces/$WORKSPACE_ID/content/$CONTENT_ID/publish" \
  -H "Authorization: Bearer $MAEVE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
```

The response shows `status: "scheduled"` because publishing is queued. Read the post afterward to confirm it reached `sent`. If it shows `failed`, read the error, fix the cause, and send `POST .../content/{id}/retry`.

Maeve does not send webhooks. To find out when a post publishes or fails, read the post, or list posts sorted by `updatedAt`.

## Delete a Post

```
curl --fail-with-body -X DELETE "https://api.maevesocial.com/v1/workspaces/$WORKSPACE_ID/content/$CONTENT_ID" \
  -H "Authorization: Bearer $MAEVE_API_KEY"
```

A successful delete returns `204` with no body.

Deleting a published post removes it from the platform

On most platforms, deleting a published post through the API also takes it down from the social network. The API does not ask for confirmation.

## Questions

### Can I post to several accounts in one request?

No. Each request creates a post for one connected account. Send one request per account.

### What happens if I leave out intent?

The post saves as a draft. Use intent schedule with scheduledAt, or publish\_now, to do more.

### What format does scheduledAt use?

An ISO 8601 date and time that includes its timezone offset, such as 2027-01-01T12:00:00+10:00.

### Why did my request return REVIEW\_REQUIRED?

A required approval workflow covers the post. The draft is saved, but it must be sent for review before it can be scheduled or published.

### How do I avoid creating a post twice when I retry?

Send an Idempotency-Key header and reuse the same value and payload when retrying. Within 24 hours Maeve returns the first result instead of creating a second post.

### How do I know a post was published?

Read the post and check that its status is sent. A publish request only queues the work, and Maeve does not send webhooks.

### Can I edit a published post?

The update route accepts drafts and scheduled posts only.

### Does deleting a post remove it from the social network?

On most platforms, yes. Deleting a published post through the API also takes it down from the network, without asking for confirmation.

Read next

* [The Public API](https://maevesocial.com/guides/api-cli-and-mcp/the-public-api)
* [Uploading Media with the API](https://maevesocial.com/guides/api-cli-and-mcp/uploading-media-with-the-api)

In Maeve Social

* [REST API](https://maevesocial.com/features/api)
* [CLI](https://maevesocial.com/features/cli)
* [MCP Server](https://maevesocial.com/features/mcp)
