{
"api_id": "a640fba2-3b14-11ed-95d8-0242ac110003",
"campaign_id": "<Campaign ID used in the request API>",
"message": "Request to import campaign was received and is being processed."
}

This API lets you import a campaign that you have registered directly with The Campaign Registry (TCR). This feature is currently in private beta - please contact our support team to enable this feature for your account.

API Endpoint

POST
https://api.plivo.com/v1/Account/{auth_id}/10dlc/Campaign/import

Arguments

campaign_alias 
string 
Required
A friendly name for your campaign.
campaign_id 
string 
Required
ID for the campaign that needs to be imported.

Make sure you have shared the campaign with Plivo from your TCR portal before submitting the API request.

url 
string
The fully qualified URL to which status update callbacks for the message should be sent.
method 
string
The HTTP method to be used when calling the URL defined above.

Allowed values: GET, POST

Defaults to POST

Returns

api_id for the request, campaign_id and success message.

{
"api_id": "a640fba2-3b14-11ed-95d8-0242ac110003",
"campaign_id": "<Campaign ID used in the request API>",
"message": "Request to import campaign was received and is being processed."
}