Publish a post now, or schedule it when scheduled_for is set.
Publish a post now, or schedule it when scheduled_for is set.
POST
https://app.softsolz.uk/api/v1/services/social/posts/{id}/publishRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Idempotency-KeystringOptional idempotency key for safe retries.
Body Params
scheduled_forstringOptional future publish time; omit to publish immediately.
Response
Response Body
idstringPost id (numeric string).tenant_idstringOwning tenant id.bodystringPost text.mediaarray of objectsAttachments.statusstringOverall post status.scheduled_forstring | nullScheduled publish time; null if not scheduled.environmentstringEnvironment.created_byinteger | nullUser id that created the post.created_atstringCreation timestamp.updated_atstringLast update timestamp.targetsarray of objectsPer-account delivery targets.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/social/posts/{id}/publish \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "scheduled_for": "2027-03-01T09:00:00.000Z"}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "id": "your-id", "tenant_id": "your-tenant-id", "body": "your-body", "media": [ { "s3_key": "your-s3-key", "url": "https://example.com", "alt": "your-alt", "mime": "your-mime", "kind": "image", "title": "your-title", "bytes": 1 } ], "status": "draft", "scheduled_for": "2026-01-01T09:00:00.000Z", "environment": "live", "created_by": 1, "created_at": "2026-01-01T09:00:00.000Z", "updated_at": "2026-01-01T09:00:00.000Z", "targets": [ { "id": "your-id", "post_id": "your-post-id", "account_id": "your-account-id", "override_body": "your-override-body", "status": "pending", "attempt": 1, "next_attempt_at": "2026-01-01T09:00:00.000Z", "external_post_id": "your-external-post-id", "error": "your-error", "published_at": "2026-01-01T09:00:00.000Z", "created_at": "2026-01-01T09:00:00.000Z", "updated_at": "2026-01-01T09:00:00.000Z", "platform": "linkedin", "display_name": "your-display-name", "avatar_url": "https://example.com" } ] }}