Search the brand transactional messages by recipient, date, template, stream and status (cursor-paginated, newest first)
const url = 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/messages?status=queued';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/messages?status=queued' \ --header 'Authorization: Bearer <token>'Filters are combined with AND. Each page is served from a brand index, regardless of how many messages exist. nextCursor is null on the last page. Never returns variables or message content.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
brd_01hx0000000000000000000000Query Parameters
Section titled “Query Parameters”Full email address (exact match) or its prefix (at least 3 characters). Case-insensitive.
Full email address (exact match) or its prefix (at least 3 characters). Case-insensitive.
Created on or after this date (inclusive)
Created on or after this date (inclusive)
Created before this date (exclusive)
Created before this date (exclusive)
Stream short name
Stream short name
Responses
Section titled “Responses”Messages
object
object
object
Stable failure code (unknown_result, provider_rejected…); the provider free-text message is not returned
object
With microseconds: it is the cursor key
Example
{ "data": [ { "status": "queued" } ]}Invalid data
object
object
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
object
object
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
object
object
Example
{ "error": { "code": "not_found" }}Internal error
object
object
Example
{ "error": { "code": "not_found" }}