Rivier/ Reference/ contacts

Draft a social post, a page block or a business-profile post for a plan

post/crm/marketing/plans/{id}/content-draft

Draft a social post, a page block or a business-profile post for a plan; kept as a marked AI draft, published by a person.

Before you call

Credential
Authorization: Bearer $KEY
Scope
contacts:write
Graphql
Mutation.contactsMarketingContentDraft
Sdk
contacts.marketing.contentDraft
Cli
contacts marketing content draft

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • briefstringrequired
    At most 1200 characters.
  • namestring
    At most 160 characters.
  • scheduledForstring
    At most 40 characters.
  • reasonstring
    At most 300 characters.
  • channelstringrequired
    One of: social, page, gbp.

Responses

  • 201application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown