Search text campaigns

Retrieve sent and received text messages with their delivery statistics. Requires permission to view text messaging; without permission to view text logs, only campaigns the signed-in user sent or replies to are returned. Private, giving-related campaigns are hidden unless you have the Full Read Contributions permission.

Required permission: Limited SMS

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int32
≥ 1

The id of a campaign. Returns only that campaign.

string

Return campaigns whose sending number or sender's name contains the given text.

string

Return campaigns sent to a recipient whose number or name contains the given text.

string

Return campaigns where either the sender or a recipient matches the given text.

string

Return campaigns whose message contains the given text.

boolean

When true, return only incoming (received) messages; when false, only outgoing campaigns.

boolean

When true, return only automated (system-sent) campaigns; when false, only manually composed ones.

string

Return campaigns sent by a user whose name contains the given text.

double

Return campaigns costing at least this amount.

double

Return campaigns costing at most this amount.

double

Return campaigns with a delivery rate of at least this percentage.

double

Return campaigns with a delivery rate of at most this percentage.

date-time

Return campaigns sent on or after this date.

date-time

Return campaigns sent on or before this date.

int32
≥ 0

The number of records to skip before returning results, used for paging.

int32
≥ 0

The maximum number of records to return per page. Defaults to 50.

string

The field to sort the results by. The default field depends on the endpoint.

string
enum

The sort direction: "asc" or "desc".

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json