Copy a post to other clients as drafts
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
idstring
path
required
Request body
application/json
clientsobject[]
required
Show child parameters
clientIdstring
required
scheduledAtstring
{
"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