Preview campaign readiness
Campaigns
Preview campaign readiness
Requires read:campaigns. Publish readiness without sending — audience size, validation errors, step count.
GET
Preview campaign readiness
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://www.carstoragesoftware.com/api/v1/marketing/campaigns/{id}/preview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.carstoragesoftware.com/api/v1/marketing/campaigns/{id}/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.carstoragesoftware.com/api/v1/marketing/campaigns/{id}/preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"canPublish": true,
"recipientCount": 123,
"stepCount": 123,
"scheduledAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"channel": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"details": null
}{
"error": "<string>",
"code": "<string>",
"details": null
}{
"error": "<string>",
"code": "<string>",
"details": null
}{
"error": "<string>",
"code": "<string>",
"details": null
}Requires read:campaigns. Publish readiness without sending — audience size, validation errors, step count.
curl --request GET \
--url https://www.carstoragesoftware.com/api/v1/marketing/campaigns/{id}/preview \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.carstoragesoftware.com/api/v1/marketing/campaigns/{id}/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.carstoragesoftware.com/api/v1/marketing/campaigns/{id}/preview"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"canPublish": true,
"recipientCount": 123,
"stepCount": 123,
"scheduledAt": "2023-11-07T05:31:56Z",
"error": "<string>",
"channel": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"details": null
}{
"error": "<string>",
"code": "<string>",
"details": null
}{
"error": "<string>",
"code": "<string>",
"details": null
}{
"error": "<string>",
"code": "<string>",
"details": null
}Was this page helpful?