API: Episode Messages
In this page
The Episode Message object
Listeners can talk to episode authors by sending them public textual Messages. A message has the following properties:
Property | Type | Description |
---|---|---|
message_id |
Numeric | Unique message identifier |
episode_id |
Numeric | Unique episode identifier |
text |
String | Textual message |
created_at |
Timestamp | The timestamp at which the message was sent |
author_id |
Numeric | Message author’s user |
author_username |
String | Message author’s username |
author_fullname |
String | Message author’s display name |
author_site_url |
String | Message author’s public URL on Spreaker’s website |
author_image_url |
String | Message author’s small image URL |
author_image_original_url |
String | Message author’s original size image URL |
author_is_owner |
Boolean | true if the message author is the owner of the episode |
app_name |
String | The name of the app used to send the message |
app_url |
String | The URL to get the app used to send the message |
Retrieving an Episode’s Messages
Authenticated: no
This API returns a paginated list of Messages left on a given Episode. The list of messages is sorted anti-chronologically, from the most recent to the oldest.
Example
Leaving a Message
Authenticated: yes
The API POST /v2/episodes/EPISODE-ID/messages
supports these parameters:
Parameter | Type | Description |
---|---|---|
text |
String | Required. Max length: 4000 |
Example
Deleting an Episode’s Message
Authenticated: yes
Delete the given episode’s message. This requires the request to be authenticated with the message or episode author’s credentials. A user can delete messages sent from him or herself, or messages left on their own episodes.
Example
Reporting Abuse
Authenticated: yes
Report the specified episode message as spam or claim that it is violating Spreaker’s terms and conditions. Reported messages will be checked by Spreaker’s staff within 1 working day.