Skip to main content
This API lets you fetch all the campaigns associated with an account.

API Endpoint

GET

Arguments

limit
integer

Denotes the number of results per page. The maximum number of results that can be fetched is 20.

Defaults to 20.

offset
integer

Denotes the number of value items by which the results should be offset. Defaults to 0. Read more about offset-based pagination.

usecase
string

Filter by use case.

Allowed values: 2FA, ACCOUNT_NOTIFICATION, CUSTOMER_CARE, DELIVERY_NOTIFICATION, FRAUD_ALERT, HIGHER_EDUCATION, LOW_VOLUME, MARKETING, MIXED, POLLING_VOTING, PUBLIC_SERVICE_ANNOUNCEMENT, SECURITY_ALERT, STARTER.

brand_id
string

Filters results by a brand_id

registration_status
string

Filter by registration status of a campaign.

Allowed values: Active, Failed, Processing, Expired

campaign_source
string

Filters results by campaign source.

Allowed values: plivo, shared

Returns

api_id and a dictionary with an objects property that contains up to 20 campaigns. Each tuple in the list is a separate Campaign object.

Response