Retrieve the Mass Messages of an account
Changed onRate limit: 5 requests per second
Pagination is by cursor: set to to the created_at of the last item of the page just read. The cursor has one-second precision — deduplicate by id.
The first page starts with every scheduled Mass Message, soonest first, then every Mass Message still sending, then the history newest first. The scheduled and sending ones are not counted against limit, so the first page may hold more than limit items. It is the only page that carries total; total reads null on every page after it.
Required permission: mass_messages.view
Request
- Base URLhttps://omapi.onlymonster.ai
- AuthAPI key in header x-om-auth-token
Path parameters
OnlyMonster account whose Mass Messages are addressed.
Query parameters
Items per page (min: 1, max: 100, default: 50).
Cursor: the created_at of the last item of the previous page.
Response
A page of the account's Mass Messages. The first page starts with every scheduled message, soonest first, then every message still sending, then the history newest first; the scheduled and sending ones are not counted against limit, so it may hold more than limit items.
Example response
{
"items": [
{
"id": "4312"
}
]
}Changes
- info
endpoint added
- info