Network API

Snapchat API for Posting, Scheduling, and Analytics

Ayrshare's Snapchat API lets developers publish stories, saved stories, and Spotlight videos to Snapchat Public Profiles via a single REST endpoint. It supports scheduled posts, hashtags, post and profile analytics, history, and deletion across 14+ social networks through one integration.

Your users link their own Snapchat Public Profiles through an OAuth flow inside your product, on Ayrshare's Snap integration. You don't need to get your own app allowlisted by Snap or build its encrypted media upload.

A Snapchat Spotlight video scheduled for Nov 3 at 16:00 on the northwind Public Profile, captioned 'Behind the scenes at launch week #ayrshare' with 41 of 160 caption characters used and spotlight set to true, beside a 'Publish to Snapchat' account card, a list of the three surfaces (story, saved story, Spotlight) set by one flag, a note that Snap reviews Spotlights before they go live, and a 7-day views chart at 38.2K views with 71% completes

One integration, 14+ networks, 30M+ API calls a day.

X
Facebook
Instagram
TikTok
Bluesky
YouTube
LinkedIn
Pinterest
Telegram
Reddit
Threads
Snapchat
Google Business
WhatsApp

>99.99%

API uptime

30M+

API calls per day

14+

Social media networks

AI-Native

Native MCP server for any AI agent

>99.99%

API uptime

30M+

API calls per day

14+

Social media networks

AI-Native

Native MCP server for any AI agent

Before you build

What Do You Need to Use the Snapchat API?

You need one API key and a user who links their Snapchat Public Profile. Ayrshare's Snap integration is already allowlisted, so there is no Snap Business account to set up, no email to a Snap contact, and no wait for approval before your first Snap. After that, Ayrshare keeps the integration running: Snap's encrypted media upload, image conversion, token refresh, and new Snapchat features as Snap releases them.

Access

Your users link their Public Profiles on Ayrshare's allowlisted Snap integration. You skip the Snap Business account setup in Ads Manager, the allowlist email, and the wait for Snap's approval.

Ongoing maintenance

Snap updates the Public Profile API and its media rules on its own schedule. Ayrshare keeps the integration current and adds new Snapchat features as Snap ships them, so you don't have to.

Account types

Snapchat Public Profiles for creators and businesses, switched to a Professional Profile so stories, saved stories, and Spotlight can all publish.

Media handling

Ayrshare converts WebP, HEIC, HEIF, and AVIF images to JPEG, runs Snap's encrypted, chunked upload, and checks each scheduled Snap against Snapchat's media rules at submit, so a bad file fails right away instead of at publish time.

Linking a Snapchat Public Profile through a connect screen on yourapp.com, with the Northwind Public Profile selected and a personal account marked as unlinkable, a note that there's no Snap allowlist to wait on with Ayrshare, next to the steps of going direct: a Snap Business account in Ads Manager, emailing a Snap contact to be allowlisted, an encrypted chunked media upload, and posting uploads within 24 hours

Post and Schedule to Snapchat in Your Language

Each sample publishes a Spotlight video now, then schedules a saved story for later. Same endpoint, same JSON, in Node.js, Python, PHP, Java, Go, Ruby, C#, or plain cURL. Add a Profile-Key header to post for one of your users.

# 1. Publish now: a Spotlight Snap with hashtagscurl -X POST https://api.ayrshare.com/api/post \  -H "Authorization: Bearer $AYRSHARE_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "post": "Three edits that fixed our onboarding #ayrshare #product",    "platforms": ["snapchat"],    "mediaUrls": ["https://example.com/onboarding.mp4"],    "snapChatOptions": {      "spotlight": true    }  }'
# 2. Schedule for later (ISO 8601, UTC)curl -X POST https://api.ayrshare.com/api/post \  -H "Authorization: Bearer $AYRSHARE_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "post": "Friday product drop.",    "platforms": ["snapchat"],    "mediaUrls": ["https://example.com/drop.mp4"],    "snapChatOptions": {      "savedStory": true    },    "scheduleDate": "2026-11-06T17:00:00Z"  }'
The fine print

Snapchat API Limits: Post Types, Media, and Characters

Snapchat's rules in one place. The full list lives in the Snapchat media guidelines and the Snapchat publishing options.

Post types

3post types

Stories, which disappear after 24 hours; saved stories, which stay on the Public Profile; and Spotlight, Snapchat's permanent video feed.

Accounts

PublicProfiles

Snapchat Public Profiles for creators and businesses, switched to a Professional Profile.

Images

20 MBper image

JPEG or PNG, 1080 x 1920 px recommended. WebP, HEIC, HEIF, and AVIF are converted to JPEG, with EXIF and other metadata stripped.

Video

60 secmax length

MP4 only, up to 1 GB, 5 to 60 seconds long, 9:16 portrait, 540 x 960 px recommended. The same limits apply to stories, saved stories, and Spotlight.

Characters

500characters per post

Post text up to 500 characters. Spotlight captions are cut at 160 characters rather than rejected.

One media item per post

1image or video

Every Snap carries exactly one image or one video. A request with several media URLs, or none, isn't a valid Snap.

Hashtags

Clickablein Spotlight captions

Hashtags in Spotlight captions are clickable and searchable, so tag each Spotlight for discovery. Post text can be empty when the media carries the message.

Scheduling and limits

300API calls per 5 min

Pass a scheduleDate to publish later. Scheduled posts are checked against Snapchat's media rules when you submit them, so a bad video fails right away. Ayrshare allows 300 API calls per 5 minutes per profile.

Beyond the basic post

Post a story that lasts 24 hours

A story is the default. Send one image or one video, and it goes to the Public Profile's story for 24 hours. The post text can be empty.

Skip the setup

Why Use Ayrshare Instead of the Snapchat API Directly?

Ayrshare is already set up with Snap, so your product sends one request and gets back the Snapchat post ID, media ID, and URL. Ayrshare runs the Public Profile linking flow, converts WebP, HEIC, and AVIF images to JPEG, handles the encrypted media upload, and checks each scheduled Snap against Snapchat's media rules before it's queued. Stories, saved stories, and Spotlight each have their own endpoint at Snap; on Ayrshare they're one flag on the same request. When Snap changes its API, the fix ships on our side, not in your sprint.

For a step-by-step walkthrough, read How to Post to Snapchat with an API.

See the Snapchat Publishing Options
  1. Step 1

    One simple endpoint

    Just send a single POST request with your caption, one media URL, and the user's Profile-Key. Set savedStory or spotlight in snapChatOptions to pick the surface. We keep the integration lean so your team can launch faster.

  2. Step 2

    We deal with Snap

    Public Profile linking, token refresh, image conversion, the encrypted media upload, and the media checks. None of it reaches your code.

  3. Live

    Analytics on every Snap

    Get the Snapchat post ID, media ID, and URL right away. The same ID returns views, viewers, completes, average view time, swipe ups, shares, and replies per Snap, plus daily profile metrics, in the same JSON format as every other network.

After you publish

Beyond Posting: The Rest of the Snapchat Lifecycle

Snapchat's API covers publishing, analytics, and history, and Ayrshare runs all three through the same Public Profile connection.

Snapchat post analytics for a launch week Spotlight (38.2K views, 71% completes, 31s average view time, 418 daily subscribes) with a viewer retention chart, beside the profile's history list of a Spotlight, a public story that expires Nov 4, and a saved story posted in the app, a submit-time error for a 74-second video, deleting a Snap by Ayrshare id, and a note that comments and DMs aren't offered on Public Profiles

Analytics

Per-post views, viewers, completes, average view time, swipe ups, shares, and replies, plus profile metrics with daily series. Profile history reaches back 90 days.

Analytics API

Delete

Remove a scheduled Snap before it publishes, or a published Snap afterwards, with the Ayrshare post id.

Delete post docs

History

List a profile's stories, saved stories, and Spotlights, including Snaps posted outside Ayrshare, with a media URL per Snap.

History API

Pre-publish checks

Scheduled posts are checked against Snapchat's format and length rules when you submit them, not at publish time.

Post API reference

Profile analytics

Views, view time, subscribes, replies, shares, and Snapcode scans for the whole Public Profile, as daily series reaching back 90 days.

Analytics API

See every network you can reach with the same integration on the supported networks page.

Common questions

FAQs About the Snapchat API

Yes, you can post to Snapchat through an API. Ayrshare's Snapchat API lets developers publish stories, saved stories, and Spotlight videos to Snapchat Public Profiles via a single REST endpoint. It supports scheduled posts, hashtags, post and profile analytics, history, and deletion across 14+ social networks through one integration. Start with the Snapchat publishing options.

The Snapchat API carries no published fee for posting, but getting to it isn't free of work. The Public Profile API is allowlist-only, you request access through a Snap contact, and you build Snap's encrypted media upload yourself. Ayrshare's plans include Snapchat posting on Ayrshare's existing Snap integration, so there's no allowlist to wait on. Compare Ayrshare plans.

To get access to the Snapchat API for posting, set up a Snap Business account in Ads Manager, create an OAuth app from its Business Details, and email your Snap contact your client ID and use case to be allowlisted. With Ayrshare, your users link their Public Profiles instead, and the Post API reference shows the one request you need.

Snapchat offers developers three main APIs. Snap Kit lets apps share content into the Snapchat camera for the user to send, the Marketing API runs ads, and the Public Profile API publishes stories, saved stories, and Spotlights and reads their analytics. Only the last one posts for your users. The tutorial How to Post to Snapchat with an API walks through a first post.

Yes, there is an official Snapchat API for posting: Snap's Public Profile API, which publishes to Public Profiles for partners Snap has allowlisted. There's no self-serve posting API for personal accounts. Ayrshare connects to it for you, next to 14+ other networks, through its social media publishing API, so you can post to Snapchat without your own Snap approval.

Yes, a developer can publish to Snapchat Spotlight through an API. Set spotlight in snapChatOptions on a post with one MP4 video of 5 to 60 seconds. Captions over 160 characters are cut, hashtags are clickable, and Snap reviews each new Spotlight before it goes live. Check the Snapchat media guidelines before you send your first video.

Your Users Are on Snapchat. Your Product Can Be Too.

Get an API key, publish your first Snapchat story, and turn on the other networks with the same call when you need them.