v1

latestOpenAPI 3.0.02026-07-14181255304.7 KB
Messages

๐ŸŽต๏ธ Send story audio message

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

post/messages/story/audio

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

secondsinteger

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

widthinteger

Width of the media in pixels

heightinteger

Height of the media in pixels

contactsContactID[]

List of contacts to send the story to

exclude_contactsContactID[]

List of contacts to exclude

background_colorstring

Background color of the story (ARGB)

Example request

{
  "background_color": "#FF000000"
}

Response

Created

sentboolean required

Message sent