Draft an email or text campaign for a plan in the project's voice
post/crm/marketing/plans/{id}/campaign-draft
Draft an email or text campaign for a plan in the project's voice; it is an ordinary draft campaign that a person reviews and approves.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Graphql
Mutation.contactsMarketingCampaignDraft- Sdk
contacts.marketing.campaignDraft- Cli
contacts marketing campaign draft
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- briefstringrequiredAt most 1200 characters.
- namestringAt most 160 characters.
- scheduledForstringAt most 40 characters.
- reasonstringAt most 300 characters.
- channelstringOne of: email, sms. Default: email.
Responses
- 201application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring