Copy a post to other clients as drafts

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-posts-copy"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/bf4842c0-1cbb-4158-99f8-3a9456884d31/social-card.svg?v=3e7ae33eec8b" alt="Copy a post to other clients as drafts" width="600" height="315"></a>
POST http://localhost:4000/api/v1/posts/{id}/copy

For each entry of clients a draft is made for that client, with scheduledAt as its planned time when given. A channel of the post is replaced by the client's first channel on the same platform; platforms the client has no channel on are named in skipped, and a client with none of them gets no copy. The text, media, settings and tags are copied.

Parameters

id
string
path
required

Request body

application/json
clients
object[]
required
Show child parameters
clientId
string
required
scheduledAt
string
{
  "clients": [
    {
      "clientId": "string",
      "scheduledAt": "2024-01-01T00:00:00Z"
    }
  ]
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/posts/{id}/copy" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"clients":[{"clientId":"string","scheduledAt":"2024-01-01T00:00:00Z"}]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated