Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
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 }
Requires read:campaigns. Publish readiness without sending — audience size, validation errors, step count.
read:campaigns
Team API key from Settings → Integrations. Use Authorization: Bearer <key> or x-api-key.
Authorization: Bearer <key>
x-api-key
Preview campaign readiness
Show child attributes
Was this page helpful?