Zernio
APIFor you
Zernio
APIFor you
Platforms

Snapchat

Overview

Set up

Connect

Publish

Stories & SpotlightMedia Requirements

Engage

Analytics

Reference

Limits & Errors
Dashboard
OverviewPlatformsAPI ReferenceResources
Snapchat

Stories & Spotlight

Publish Stories, Saved Stories and Spotlight videos to Snapchat, and the platform fields they accept.


A plain post becomes a Story: contentType defaults to "story". Set it to "saved_story" or "spotlight" for the other 2 types.

contentTypeWhat it publishesLifetimeText
storyA snap in the profile's Story24 hoursNo caption
saved_storyA permanent story on the Public ProfilePermanentcontent is the title, max 45 characters
spotlightA video in Snapchat's Spotlight feedPermanentcontent is the description, max 160 characters, hashtags allowed

Story

A Story is visible for 24 hours and carries no caption, so content is not used:

const { data: published } = await zernio.posts.createPost({
  body: {
    mediaItems: [
      { type: 'video', url: 'https://cdn.example.com/backstage.mp4' }
    ],
    platforms: [
      {
        platform: 'snapchat',
        accountId: '66b2e19d8c3f5a7e9d0b1c2d',
        platformSpecificData: { contentType: 'story' }
      }
    ],
    publishNow: true
  }
});

console.log(published.post.status);

Response (201):

{
  "post": {
    "_id": "65f1c0a9e2b5af0012ab34cd",
    "status": "published",
    "platforms": [
      {
        "platform": "snapchat",
        "status": "published"
      }
    ]
  }
}

Every sample below changes only the content or the platforms entry of this request. An image works the same way with { "type": "image", "url": "https://cdn.example.com/backstage.jpg" }.

Saved Story

A Saved Story stays on the Public Profile. content becomes its title, at most 45 characters:

{
  "content": "Behind the scenes",
  "platforms": [
    {
      "platform": "snapchat",
      "accountId": "66b2e19d8c3f5a7e9d0b1c2d",
      "platformSpecificData": { "contentType": "saved_story" }
    }
  ]
}

Spotlight

Spotlight is Snapchat's public video feed and takes video only. content becomes the description, at most 160 characters including hashtags:

{
  "content": "Sunset over the pier #sunset #nature",
  "platforms": [
    {
      "platform": "snapchat",
      "accountId": "66b2e19d8c3f5a7e9d0b1c2d",
      "platformSpecificData": { "contentType": "spotlight" }
    }
  ]
}

Platform fields

All fields go in platformSpecificData on the Snapchat entry.

FieldTypeDefaultDescription
contentType"story", "saved_story", "spotlight""story"Where the media publishes. See Story, Saved Story and Spotlight.
Was this page helpful?

Connect

Connect a Snapchat account with the Zernio API, every step with code.

Media Requirements

Image and video requirements for Snapchat posts.

On this page

StorySaved StorySpotlightPlatform fields