v1

latestOpenAPI 3.0.02026-07-14181255304.7 KB
Stories

Create & publish story

The method responsible for sending images or texts to your status. Remember that statuses disappear after 24 hours. The requirements for sending all media types are identical

post/stories

Request body

mime_typestring

Mime type of media

no_encodeboolean

Do not use our encoding

no_cacheboolean

Do not use the cache in a request

captionstring

Optional. Text caption under the media.

previewstring

Optional. Base64 encoded preview of the media. In JPEG format.

widthinteger

Width of the media in pixels

heightinteger

Height of the media in pixels

secondsinteger

Optional. For audio files, this field indicates the duration of the audio file in seconds.

contactsContactID[]

List of contacts to send the story to

exclude_contactsContactID[]

List of contacts to exclude

background_colorstring

Background color of the story (ARGB)

caption_colorstring

Caption color of the story (ARGB)

font_type'SYSTEM' | 'SYSTEM_TEXT' | 'FB_SCRIPT' | 'SYSTEM_BOLD' | 'MORNINGBREEZE_REGULAR' | 'CALISTOGA_REGULAR' | 'EXO2_EXTRABOLD' | 'COURIERPRIME_BOLD'

Font style of the story

Example request

{
  "background_color": "#FF000000",
  "caption_color": "#FF000000"
}

Response

Created

sentboolean required

Message sent