Skip to main content
GET
Get a story

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

id
string
required

Story id (the id returned by POST /v1/stories).

Response

Story

id
string
type
enum<string>
Available options:
text,
image,
video
status
enum<string>
Available options:
QUEUED,
SENT,
FAILED
text
string
caption
string
recipientsMode
enum<string>

explicit when you sent recipients, privacy otherwise.

Available options:
explicit,
privacy
recipientCount
integer

Number of recipients (0 = only your own devices).

recipients
string[] | null
redacted
boolean
createdAt
string<date-time>
sentAt
string<date-time> | null
revokedAt
string<date-time> | null
errorMessage
string | null

Public reason of a FAILED story, as text in English and Portuguese separated by | (same rules as errorMessage on GET /v1/messages/{id}: no internal detail). null when the story did not fail.

errorCode
string | null

Machine-readable failure code, from the same derivation as errorCode on GET /v1/messages/{id} (e.g. MEDIA_DOWNLOAD_FAILED when the media could not be downloaded at publish time). null when the story did not fail.

deliverAt
string<date-time> | null

Scheduled time in UTC, or null when published right away.