# Snapchat publishing API

Snapchat is in beta on PubNio. One API call publishes Stories, Saved Stories, and Spotlight videos, from the REST API, the TypeScript SDK, the CLI, or the hosted MCP server.

## Rules by placement

| Placement | Media | Items per post | Caption limit |
| --- | --- | --- | --- |
| `story` | image, video | 1 | 160 characters |

- `contentType` is `story` (the default), `saved_story`, or `spotlight`.
- A Saved Story needs a `title`, or post text, of up to 45 characters; Spotlight takes one video and a `description`, or post text, of up to 160.
- A plain Story publishes no text, so text on one draws a warning.

## Connect a Snapchat account

- Connect the Snapchat profile in PubNio with OAuth.

| Scope PubNio requests | What Snapchat says it allows |
| --- | --- |
| `snapchat-profile-api` | — |

Account kind: page. Status: Beta.

## Publish request

A Spotlight video with its description.

```http
POST /api/v1/posts?workspaceId=4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b
Authorization: Bearer pn_live_***
Idempotency-Key: snapchat-spotlight-latte
Content-Type: application/json

{
  "publishNow": true,
  "targets": [
    {
      "accountId": "7f3c2a10-5b4e-4d6f-8a9b-0c1d2e3f4a5b",
      "provider": "snapchat",
      "placement": "story",
      "settings": {
        "contentType": "spotlight",
        "description": "Latte art, one pour."
      },
      "media": [
        {
          "url": "https://cdn.example.com/latte-art.mp4"
        }
      ]
    }
  ]
}
```

The `Idempotency-Key` makes a retried request publish once. The response is `202 Accepted` with a `postId` to read.

## Limits

- Snapchat is in beta: accounts connect and publish, and behavior may still change.

## Related

- [Snapchat MCP server](https://pubnio.com/snapchat-mcp)
- [Snapchat network guide](https://pubnio.com/docs/networks/snapchat/)
- [Rules for every placement](https://pubnio.com/docs/capabilities/)
- [All platforms](https://pubnio.com/platforms)

