REST APIPOST
Publier un brouillon
Publiez un brouillon enregistré
POST
https://post.adaptlypost.com/post/api/v1/social-posts/:id/publishPublier un brouillon precedemment enregistre. Optionnellement, le programmer pour plus tard en fournissant une date scheduledAt.
Cle API (jeton Bearer)
Parametres du corps
| Parametre | Taper | Description |
|---|---|---|
scheduledAt | string | Date ISO 8601 pour la programmation. Omettez pour publier immediatement. |
timezoneREQUIS | string | Fuseau horaire IANA (requis) |
Si scheduledAt est fourni, la publication sera programmee pour plus tard. Sinon, elle est publiee immediatement.
Publier un brouillon
curl --request POST \
--url https://post.adaptlypost.com/post/api/v1/social-posts/post_xyz789/publish \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"scheduledAt": "2026-03-15T10:00:00Z",
"timezone": "America/New_York"
}'200
{
"postId": "post_xyz789",
"queuedPlatforms": ["TWITTER", "LINKEDIN"],
"isScheduled": true,
"scheduledAt": "2026-03-15T10:00:00Z"
}