Skip to main content

Get Single Shared Campaign

GET 
/partner_campaigns/:campaignId

Retrieve campaign details by campaignId.

Request

Path Parameters

    campaignId Campaignidrequired

Responses

200: Successful Response

422: Validation Error

Request samples


curl -L 'https://api.telnyx.com/v2/10dlc/partner_campaigns/:campaignId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"ageGated": true,
"assignedPhoneNumbersCount": 3,
"brandDisplayName": "ABC Mobile",
"campaignStatus": "TCR_ACCEPTED",
"description": "string",
"directLending": true,
"embeddedLink": true,
"embeddedLinkSample": "string",
"embeddedPhone": true,
"helpKeywords": "string",
"helpMessage": "string",
"isNumberPoolingEnabled": true,
"messageFlow": "string",
"numberPool": true,
"optinKeywords": "string",
"optinMessage": "string",
"optoutKeywords": "string",
"optoutMessage": "string",
"privacyPolicyLink": "string",
"usecase": "string",
"sample1": "string",
"sample2": "string",
"sample3": "string",
"sample4": "string",
"sample5": "string",
"subUsecases": [
"string"
],
"subscriberOptin": true,
"subscriberOptout": true,
"tcrBrandId": "BBRAND1",
"tcrCampaignId": "CCAMP1",
"termsAndConditions": true,
"termsAndConditionsLink": "string",
"webhookURL": "https://example.com/webhook",
"webhookFailoverURL": "https://example.com/failover-webhook",
"createdAt": "2021-03-08T17:57:48.801186",
"updatedAt": "2021-03-08T17:57:48.801186"
}