Skip to main content

Get Partner Campaigns Shared By User

GET 
/partnerCampaign/sharedByMe

Get all partner campaigns you have shared to Telnyx in a paginated fashion

This endpoint is currently limited to only returning shared campaigns that Telnyx has accepted. In other words, shared but pending campaigns are currently omitted from the response from this endpoint.

Request

Query Parameters

    page Page

    Default value: 1

    The 1-indexed page number to get. The default value is 1.

    recordsPerPage Recordsperpage

    Default value: 10

    The amount of records per page, limited to between 1 and 500 inclusive. The default value is 10.

Responses

200: Successful Response

422: Validation Error

Request samples


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

Response samples


{
"page": 0,
"records": [
{
"brandId": "string",
"campaignId": "string",
"createDate": "string",
"status": "string",
"usecase": "string"
}
],
"totalRecords": 0
}