Skip to main content

Arguments

after : String
before : String
campaignType : TypeOfVoiceCampaign

Filter by campaign type.

first : Int
last : Int
name : String

Filter by campaign name.

status : CampaignStatus

Filter by campaign status.

Returns

VoiceCampaignConnectionTypeConnection!

Paginator of Voice Campaigns

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query voice campaigns

Query Complexity

2

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query VoiceCampaigns( $after: String, $before: String, $campaignType: TypeOfVoiceCampaign, $first: Int, $last: Int, $name: String, $status: CampaignStatus ) { voiceCampaigns( after: $after, before: $before, campaignType: $campaignType, first: $first, last: $last, name: $name, status: $status ) { edgeCount edges { ...VoiceCampaignConnectionTypeEdgeFragment } pageInfo { ...PageInfoFragment } totalCount } }

Variables

{ "after": "YXJyYXljb25uZWN0aW9uOjEw=", "before": "YXJyYXljb25uZWN0aW9uOjEw=", "campaignType": "PREVIEW", "first": 10, "last": 10, "name": "nation-make-talk-shoulder-now", "status": "ACTIVE" }

Response

{ "data": { "voiceCampaigns": { "edgeCount": 50, "edges": [VoiceCampaignConnectionTypeEdge], "pageInfo": PageInfo, "totalCount": 27 } } }