SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester

Create a post and its per-account targets.

Create a post and its per-account targets.

POSThttps://app.softsolz.uk/api/v1/services/social/posts

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Body Params

bodystring

Post text.

mediaarray of objects

Optional attachments: up to 4 images, OR a single video, OR a single document. Each item: { file_id | url, alt?, title? }. Use a file_id from POST /files or POST /files/upload-links to attach a file you sent to SoftSolz; url is a public link SoftSolz downloads when it publishes.

targetsarray of objects

Per-account targets: { account_id, override_body? }.

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 \
--header 'Authorization: Bearer sk_live_your_key' \
--header 'Content-Type: application/json' \
--data '{
"body": "We just shipped a new feature!",
"targets": [
{
"account_id": 1
}
]
}'

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 · 201

{
"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"
}
]
}
}