Skip to main content

Arguments

input : CreateCampaignItemsInput! required

Returns

CreateCampaignItems

The possible errors that can be raised are:

  • KT-CT-4178: No account found with given account number.
  • KT-CT-11501: Voice campaign not found.
  • KT-CT-11503: One or more campaign items are invalid and cannot be created.
  • KT-CT-11504: The batch of campaign items is too large.
  • KT-CT-11506: Invalid campaign ID.
  • KT-CT-1113: Disabled GraphQL field requested.
  • KT-CT-1111: Unauthorized.
  • KT-CT-1112: 'Authorization' header not provided.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can manage voice campaigns

Query Complexity

1

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

mutation CreateCampaignItems($input: CreateCampaignItemsInput!) { createCampaignItems(input: $input) { batchIdentifier campaignItems { ...VoiceCampaignItemTypeFragment } } }

Variables

Response

{ "data": { "createCampaignItems": { "batchIdentifier": "77935399", "campaignItems": [VoiceCampaignItemType] } } }