Rivier/ Reference/ content

Write a draft for a channel

post/workspace/content

Before you call

Credential
Authorization: Bearer $KEY
Scope
content:write
Graphql
Mutation.contentItemDraft
Sdk
content.item.draft
Cli
content item draft

Request bodyapplication/json, required

  • channelstringrequired
    One of: linkedin, facebook, instagram, x, tiktok, threads, mastodon, discord, telegram, youtube, snapchat, medium.
  • bodystringrequired
    At most 20000 characters.
  • topicstring
    At most 500 characters.
  • agentIdstring (uuid) or null
  • mediaUrlstring (uri) or null
  • publishAtstring (date-time) or null

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