Social posts

The social calendar: posts, approval and publishing.

Values for the examples

Type them once and every example on this page uses them. The API key stays on this page only and is never saved.

GET/v1/social-posts

Lists the posts of the social calendar between two dates.

ListOn success: 200.Permission: Read.

Query parameters

FieldTypeRequiredNotes
fromstring (date-time)No
tostring (date-time)No
status"draft" | "pending" | "changes_requested" | "scheduled" | "publishing" | "published" | "failed"No
unscheduledstringNo
connectionIdstring (uuid)No

Response

42 fields
FieldTypeAlways there
[].approvedAtstring | null (date-time)Yes
[].approvedBystring | null (uuid)Yes
[].approvedByNamestring | nullYes
[].automationnull in the examplesYes
[].captionstringYes
[].countedAtnull in the examplesYes
[].createdAtstring (date-time)Yes
[].createdBystring (uuid)Yes
[].createdByNamestringYes
[].firstCommentnull in the examplesYes
[].idstring (uuid)Yes
[].mediaarray of objectYes
[].media[].altnull in the examplesYes
[].media[].heightintegerYes
[].media[].idstring (uuid)Yes
[].media[].urlstring (uri)Yes
[].media[].widthintegerYes
[].notesnull in the examplesYes
[].organizationIdstring (uuid)Yes
[].publishedAtnull in the examplesYes
[].scheduledAtstring (date-time)Yes
[].statusstringYes
[].submittedAtstring | null (date-time)Yes
[].submittedBystring | null (uuid)Yes
[].targetsarray of objectYes
[].targets[].automationErrornull in the examplesYes
[].targets[].automationIdnull in the examplesYes
[].targets[].captionnull in the examplesYes
[].targets[].connectionIdstring (uuid)Yes
[].targets[].errornull in the examplesYes
[].targets[].errorDetailnull in the examplesYes
[].targets[].externalIdnull in the examplesYes
[].targets[].idstring (uuid)Yes
[].targets[].labelstringYes
[].targets[].metricsnull in the examplesYes
[].targets[].networkstringYes
[].targets[].permalinknull in the examplesYes
[].targets[].publishedAtnull in the examplesYes
[].targets[].statusstringYes
[].titlenull in the examplesYes
[].updatedAtstring (date-time)Yes
[].updatedBystring (uuid)Yes
Example
curl -X GET "https://api.firmado.app/v1/social-posts" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

[
  {
    "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "title": null,
    "caption": "…",
    "firstComment": null,
    "media": [
      {}
    ],
    "automation": null,
    "notes": null,
    "status": "…",
    "scheduledAt": "2026-11-21T14:00:00.000Z",
    "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "submittedAt": "2026-11-21T14:00:00.000Z",
    "approvedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
    "approvedAt": "2026-11-21T14:00:00.000Z",
    "publishedAt": null,
    "countedAt": null,
    "createdAt": "2026-11-21T14:00:00.000Z",
    "updatedAt": "2026-11-21T14:00:00.000Z",
    "createdByName": "Ana Lima",
    "approvedByName": "Ana Lima",
    "targets": [
      {}
    ]
  }
]

POST/v1/social-posts

Creates a post draft for the connected accounts.

CreateOn success: 201.Permission: Create.

Body

FieldTypeRequiredNotes
titlestring | nullNo
captionstringNomax length 63206 · default ""
firstCommentstring | nullNo
mediaarray of objectNomax items 10
media[].idstring (uuid)Yes
media[].altstring | nullNo
notesstring | nullNo
scheduledAtstring (date-time) | nullNo
targetsarray of objectNomax items 10
targets[].connectionIdstring (uuid)Yes
targets[].captionstring | nullNo
automationobject | nullNo
automation.daysintegerNomin 1 · max 90 · default 7
automation.likebooleanNodefault false
automation.publicReplystring | nullNodefault null
automation.privateReplystring | nullNodefault null
automation.keywordsarray of stringNomax items 30
automation.createContactsbooleanNodefault false
automation.oncePerUserbooleanNodefault true

Response

56 fields
FieldTypeAlways there
approvedAtnull in the examplesYes
approvedBynull in the examplesYes
approvedByNamenull in the examplesYes
automationobject | nullYes
automation.createContactsbooleanYes
automation.daysintegerYes
automation.keywordsarray of stringYes
automation.likebooleanYes
automation.oncePerUserbooleanYes
automation.privateReplystringYes
automation.publicReplynull in the examplesYes
captionstringYes
countedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentstring | nullYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notenull in the examplesYes
history[].typestringYes
history[].userIdstring (uuid)Yes
history[].userNamestringYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altstring | nullYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtstring | null (date-time)Yes
statusstringYes
submittedAtnull in the examplesYes
submittedBynull in the examplesYes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionstring | nullYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdnull in the examplesYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsnull in the examplesYes
targets[].networkstringYes
targets[].permalinknull in the examplesYes
targets[].publishedAtnull in the examplesYes
targets[].statusstringYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/social-posts" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "caption": "",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…"
    }
  ]
}'

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…",
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": {
    "days": 1,
    "like": true,
    "keywords": [
      "…"
    ],
    "oncePerUser": true,
    "publicReply": null,
    "privateReply": "…",
    "createContacts": true
  },
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": null,
  "submittedAt": null,
  "approvedBy": null,
  "approvedAt": null,
  "publishedAt": null,
  "countedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": null,
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": "…",
      "status": "…",
      "externalId": null,
      "permalink": null,
      "error": null,
      "errorDetail": null,
      "publishedAt": null,
      "automationId": null,
      "automationError": null,
      "metrics": null
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": null,
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

DELETE/v1/social-posts/{id}

Deletes a post that has not gone out.

DeleteOn success: 204.Permission: Delete.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X DELETE "https://api.firmado.app/v1/social-posts/{id}" \
  -H "X-Api-Key: fmd_..."

GET/v1/social-posts/{id}

Returns a post with each account’s result and its history.

Get oneOn success: 200.Permission: Read.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

60 fields
FieldTypeAlways there
approvedAtstring (date-time)Yes
approvedBystring (uuid)Yes
approvedByNamestringYes
automationobject | nullYes
automation.createContactsbooleanYes
automation.daysintegerYes
automation.keywordsarray of stringYes
automation.likebooleanYes
automation.oncePerUserbooleanYes
automation.privateReplystringYes
automation.publicReplynull in the examplesYes
captionstringYes
countedAtstring (date-time)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentstring | nullYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notestring | nullYes
history[].typestringYes
history[].userIdstring | null (uuid)Yes
history[].userNamestring | nullYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altstring | nullYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtstring | null (date-time)Yes
scheduledAtstring (date-time)Yes
statusstringYes
submittedAtstring (date-time)Yes
submittedBystring (uuid)Yes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdstring | null (uuid)Yes
targets[].captionstring | nullYes
targets[].connectionIdstring (uuid)Yes
targets[].errorstring | nullYes
targets[].errorDetailstring | nullYes
targets[].externalIdstring | nullYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsobject | nullYes
targets[].metrics.errornull in the examplesYes
targets[].metrics.fetchedAtnull in the examplesYes
targets[].metrics.metricsnull in the examplesYes
targets[].metrics.nextFetchAtstring (date-time)Yes
targets[].networkstringYes
targets[].permalinkstring | null (uri)Yes
targets[].publishedAtstring | null (date-time)Yes
targets[].statusstringYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X GET "https://api.firmado.app/v1/social-posts/{id}" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…",
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": {
    "days": 1,
    "like": true,
    "keywords": [
      "…"
    ],
    "oncePerUser": true,
    "publicReply": null,
    "privateReply": "…",
    "createContacts": true
  },
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedAt": "2026-11-21T14:00:00.000Z",
  "approvedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "approvedAt": "2026-11-21T14:00:00.000Z",
  "publishedAt": "2026-11-21T14:00:00.000Z",
  "countedAt": "2026-11-21T14:00:00.000Z",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": "Ana Lima",
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": "…",
      "status": "…",
      "externalId": "…",
      "permalink": "https://example.com",
      "error": "…",
      "errorDetail": "…",
      "publishedAt": "2026-11-21T14:00:00.000Z",
      "automationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "automationError": null,
      "metrics": {}
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

PATCH/v1/social-posts/{id}

Changes a post that has not gone out.

UpdateOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
titlestring | nullNo
captionstringNomax length 63206
firstCommentstring | nullNo
mediaarray of objectNomax items 10
media[].idstring (uuid)Yes
media[].altstring | nullNo
notesstring | nullNo
scheduledAtstring (date-time) | nullNo
targetsarray of objectNomax items 10
targets[].connectionIdstring (uuid)Yes
targets[].captionstring | nullNo
automationobject | nullNo
automation.daysintegerNomin 1 · max 90 · default 7
automation.likebooleanNodefault false
automation.publicReplystring | nullNodefault null
automation.privateReplystring | nullNodefault null
automation.keywordsarray of stringNomax items 30
automation.createContactsbooleanNodefault false
automation.oncePerUserbooleanNodefault true

Response

49 fields
FieldTypeAlways there
approvedAtnull in the examplesYes
approvedBynull in the examplesYes
approvedByNamenull in the examplesYes
automationnull in the examplesYes
captionstringYes
countedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentstring | nullYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notestring | nullYes
history[].typestringYes
history[].userIdstring (uuid)Yes
history[].userNamestringYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altstringYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtstring (date-time)Yes
statusstringYes
submittedAtstring | null (date-time)Yes
submittedBystring | null (uuid)Yes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionstring | nullYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdnull in the examplesYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsnull in the examplesYes
targets[].networkstringYes
targets[].permalinknull in the examplesYes
targets[].publishedAtnull in the examplesYes
targets[].statusstringYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X PATCH "https://api.firmado.app/v1/social-posts/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…"
    }
  ]
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…",
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": null,
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedAt": "2026-11-21T14:00:00.000Z",
  "approvedBy": null,
  "approvedAt": null,
  "publishedAt": null,
  "countedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": null,
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": "…",
      "status": "…",
      "externalId": null,
      "permalink": null,
      "error": null,
      "errorDetail": null,
      "publishedAt": null,
      "automationId": null,
      "automationError": null,
      "metrics": null
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

POST/v1/social-posts/{id}/approve

Approves a post waiting for approval, scheduling it.

Update/{id}/approveOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

49 fields
FieldTypeAlways there
approvedAtstring (date-time)Yes
approvedBystring (uuid)Yes
approvedByNamestringYes
automationnull in the examplesYes
captionstringYes
countedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentstringYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notestring | nullYes
history[].typestringYes
history[].userIdstring (uuid)Yes
history[].userNamestringYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altstringYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtstring (date-time)Yes
statusstringYes
submittedAtstring (date-time)Yes
submittedBystring (uuid)Yes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionstring | nullYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdnull in the examplesYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsnull in the examplesYes
targets[].networkstringYes
targets[].permalinknull in the examplesYes
targets[].publishedAtnull in the examplesYes
targets[].statusstringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/approve" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…",
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": null,
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedAt": "2026-11-21T14:00:00.000Z",
  "approvedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "approvedAt": "2026-11-21T14:00:00.000Z",
  "publishedAt": null,
  "countedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": "Ana Lima",
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": "…",
      "status": "…",
      "externalId": null,
      "permalink": null,
      "error": null,
      "errorDetail": null,
      "publishedAt": null,
      "automationId": null,
      "automationError": null,
      "metrics": null
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

POST/v1/social-posts/{id}/comments

Writes a note in the post’s history, for the team.

Update/{id}/commentsOn success: 201.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
notestringYesmin length 1 · max length 2000
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/comments" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "note": "…"
}'

POST/v1/social-posts/{id}/duplicate

A new draft with the same content.

Create/{id}/duplicateOn success: 201.Permission: Create.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

44 fields
FieldTypeAlways there
approvedAtnull in the examplesYes
approvedBynull in the examplesYes
approvedByNamenull in the examplesYes
automationnull in the examplesYes
captionstringYes
countedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentnull in the examplesYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notenull in the examplesYes
history[].typestringYes
history[].userIdstring (uuid)Yes
history[].userNamestringYes
idstring (uuid)Yes
mediaarray of anyYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtnull in the examplesYes
statusstringYes
submittedAtnull in the examplesYes
submittedBynull in the examplesYes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionnull in the examplesYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdnull in the examplesYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsnull in the examplesYes
targets[].networkstringYes
targets[].permalinknull in the examplesYes
targets[].publishedAtnull in the examplesYes
targets[].statusstringYes
titlenull in the examplesYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/duplicate" \
  -H "X-Api-Key: fmd_..."

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": null,
  "caption": "…",
  "firstComment": null,
  "media": [],
  "automation": null,
  "notes": null,
  "status": "…",
  "scheduledAt": null,
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": null,
  "submittedAt": null,
  "approvedBy": null,
  "approvedAt": null,
  "publishedAt": null,
  "countedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": null,
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": null,
      "status": "…",
      "externalId": null,
      "permalink": null,
      "error": null,
      "errorDetail": null,
      "publishedAt": null,
      "automationId": null,
      "automationError": null,
      "metrics": null
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": null,
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

POST/v1/social-posts/{id}/request-changes

Sends a post back to its author with what to change.

Update/{id}/request-changesOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
notestringYesmin length 3 · max length 2000

Response

49 fields
FieldTypeAlways there
approvedAtnull in the examplesYes
approvedBynull in the examplesYes
approvedByNamenull in the examplesYes
automationnull in the examplesYes
captionstringYes
countedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentstringYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notestring | nullYes
history[].typestringYes
history[].userIdstring (uuid)Yes
history[].userNamestringYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altstringYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtstring (date-time)Yes
statusstringYes
submittedAtstring (date-time)Yes
submittedBystring (uuid)Yes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionstring | nullYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdnull in the examplesYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsnull in the examplesYes
targets[].networkstringYes
targets[].permalinknull in the examplesYes
targets[].publishedAtnull in the examplesYes
targets[].statusstringYes
titlestringYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/request-changes" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "note": "…"
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…",
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": null,
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedAt": "2026-11-21T14:00:00.000Z",
  "approvedBy": null,
  "approvedAt": null,
  "publishedAt": null,
  "countedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": null,
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": "…",
      "status": "…",
      "externalId": null,
      "permalink": null,
      "error": null,
      "errorDetail": null,
      "publishedAt": null,
      "automationId": null,
      "automationError": null,
      "metrics": null
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

POST/v1/social-posts/{id}/retry

Tries again the accounts where the post failed.

Update/{id}/retryOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Response

53 fields
FieldTypeAlways there
approvedAtstring (date-time)Yes
approvedBystring (uuid)Yes
approvedByNamestringYes
automationnull in the examplesYes
captionstringYes
countedAtstring (date-time)Yes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentnull in the examplesYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notestring | nullYes
history[].typestringYes
history[].userIdstring | null (uuid)Yes
history[].userNamestring | nullYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altnull in the examplesYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtstring (date-time)Yes
statusstringYes
submittedAtstring (date-time)Yes
submittedBystring (uuid)Yes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionnull in the examplesYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdstring | nullYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsobject | nullYes
targets[].metrics.errornull in the examplesYes
targets[].metrics.fetchedAtnull in the examplesYes
targets[].metrics.metricsnull in the examplesYes
targets[].metrics.nextFetchAtstring (date-time)Yes
targets[].networkstringYes
targets[].permalinkstring | null (uri)Yes
targets[].publishedAtstring | null (date-time)Yes
targets[].statusstringYes
titlenull in the examplesYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/retry" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": null,
  "caption": "…",
  "firstComment": null,
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": null,
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": null,
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedAt": "2026-11-21T14:00:00.000Z",
  "approvedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "approvedAt": "2026-11-21T14:00:00.000Z",
  "publishedAt": null,
  "countedAt": "2026-11-21T14:00:00.000Z",
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": "Ana Lima",
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": null,
      "status": "…",
      "externalId": "…",
      "permalink": "https://example.com",
      "error": null,
      "errorDetail": null,
      "publishedAt": "2026-11-21T14:00:00.000Z",
      "automationId": null,
      "automationError": null,
      "metrics": {}
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

POST/v1/social-posts/{id}/schedule

Schedules a post, or sends it for approval when that is required.

Update/{id}/scheduleOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes

Body

FieldTypeRequiredNotes
nowbooleanNodefault false

Response

56 fields
FieldTypeAlways there
approvedAtstring | null (date-time)Yes
approvedBystring | null (uuid)Yes
approvedByNamestring | nullYes
automationobject | nullYes
automation.createContactsbooleanYes
automation.daysintegerYes
automation.keywordsarray of stringYes
automation.likebooleanYes
automation.oncePerUserbooleanYes
automation.privateReplystringYes
automation.publicReplynull in the examplesYes
captionstringYes
countedAtnull in the examplesYes
createdAtstring (date-time)Yes
createdBystring (uuid)Yes
createdByNamestringYes
firstCommentstring | nullYes
historyarray of objectYes
history[].createdAtstring (date-time)Yes
history[].idstring (uuid)Yes
history[].notestring | nullYes
history[].typestringYes
history[].userIdstring (uuid)Yes
history[].userNamestringYes
idstring (uuid)Yes
mediaarray of objectYes
media[].altstring | nullYes
media[].heightintegerYes
media[].idstring (uuid)Yes
media[].urlstring (uri)Yes
media[].widthintegerYes
notesnull in the examplesYes
organizationIdstring (uuid)Yes
publishedAtnull in the examplesYes
scheduledAtstring (date-time)Yes
statusstringYes
submittedAtstring (date-time)Yes
submittedBystring (uuid)Yes
targetsarray of objectYes
targets[].automationErrornull in the examplesYes
targets[].automationIdnull in the examplesYes
targets[].captionstring | nullYes
targets[].connectionIdstring (uuid)Yes
targets[].errornull in the examplesYes
targets[].errorDetailnull in the examplesYes
targets[].externalIdnull in the examplesYes
targets[].idstring (uuid)Yes
targets[].labelstringYes
targets[].metricsnull in the examplesYes
targets[].networkstringYes
targets[].permalinknull in the examplesYes
targets[].publishedAtnull in the examplesYes
targets[].statusstringYes
titlestring | nullYes
updatedAtstring (date-time)Yes
updatedBystring (uuid)Yes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/schedule" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "now": false
}'

Response (200), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "title": "…",
  "caption": "…",
  "firstComment": "…",
  "media": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "alt": "…",
      "url": "https://example.com",
      "width": 1,
      "height": 1
    }
  ],
  "automation": {
    "days": 1,
    "like": true,
    "keywords": [
      "…"
    ],
    "oncePerUser": true,
    "publicReply": null,
    "privateReply": "…",
    "createContacts": true
  },
  "notes": null,
  "status": "…",
  "scheduledAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "submittedAt": "2026-11-21T14:00:00.000Z",
  "approvedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "approvedAt": "2026-11-21T14:00:00.000Z",
  "publishedAt": null,
  "countedAt": null,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "createdByName": "Ana Lima",
  "approvedByName": "Ana Lima",
  "targets": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "connectionId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "caption": "…",
      "status": "…",
      "externalId": null,
      "permalink": null,
      "error": null,
      "errorDetail": null,
      "publishedAt": null,
      "automationId": null,
      "automationError": null,
      "metrics": null
    }
  ],
  "history": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "type": "…",
      "note": "…",
      "createdAt": "2026-11-21T14:00:00.000Z",
      "userId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "userName": "Ana Lima"
    }
  ]
}

POST/v1/social-posts/{id}/unschedule

Takes a post off the schedule, back to draft.

Update/{id}/unscheduleOn success: 200.Permission: Update.

Path parameters

FieldTypeRequiredNotes
idstringYes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/{id}/unschedule" \
  -H "X-Api-Key: fmd_..."

POST/v1/social-posts/media

Uploads a picture for posts.

Create/mediaOn success: 201.Permission: Create.

Body: a multipart form, with the file in `file`

FieldTypeRequiredNotes
filestring (binary)Yes

Response

5 fields
FieldTypeAlways there
altnull in the examplesYes
heightintegerYes
idstring (uuid)Yes
urlstring (uri)Yes
widthintegerYes
Example
curl -X POST "https://api.firmado.app/v1/social-posts/media" \
  -H "X-Api-Key: fmd_..." \
  -F "file=@./file.pdf"

Response (201), with sample values:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "url": "https://example.com",
  "width": 1,
  "height": 1,
  "alt": null
}

GET/v1/social-posts/overview

The accounts posts can go to, the approval rules and what the caller may do.

Read/overviewOn success: 200.Permission: Read.

Response

13 fields
FieldTypeAlways there
accountsarray of objectYes
accounts[].canPublishbooleanYes
accounts[].idstring (uuid)Yes
accounts[].labelstringYes
accounts[].networkstringYes
accounts[].reconnectRequiredbooleanYes
canApprovebooleanYes
pendingApprovalintegerYes
publishingEnabledbooleanYes
settingsobjectYes
settings.approverMemberIdsarray of string (uuid)Yes
settings.approverRolestringYes
settings.requireApprovalbooleanYes
Example
curl -X GET "https://api.firmado.app/v1/social-posts/overview" \
  -H "X-Api-Key: fmd_..."

Response (200), with sample values:

{
  "settings": {
    "requireApproval": true,
    "approverRole": "…",
    "approverMemberIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ]
  },
  "canApprove": true,
  "pendingApproval": 1,
  "publishingEnabled": true,
  "accounts": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "canPublish": true,
      "reconnectRequired": true
    }
  ]
}

PUT/v1/social-posts/settings

Whether posts need approval and who approves (administrators).

Update/settingsOn success: 200.Permission: Update.

Body

FieldTypeRequiredNotes
requireApprovalbooleanYes
approverRole"editor" | "admin" | "owner"Yes
approverMemberIdsarray of stringNomax items 100

Response

13 fields
FieldTypeAlways there
accountsarray of objectYes
accounts[].canPublishbooleanYes
accounts[].idstring (uuid)Yes
accounts[].labelstringYes
accounts[].networkstringYes
accounts[].reconnectRequiredbooleanYes
canApprovebooleanYes
pendingApprovalintegerYes
publishingEnabledbooleanYes
settingsobjectYes
settings.approverMemberIdsarray of string (uuid)Yes
settings.approverRolestringYes
settings.requireApprovalbooleanYes
Example
curl -X PUT "https://api.firmado.app/v1/social-posts/settings" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "requireApproval": true,
  "approverRole": "editor",
  "approverMemberIds": [
    "…"
  ]
}'

Response (200), with sample values:

{
  "settings": {
    "requireApproval": true,
    "approverRole": "…",
    "approverMemberIds": [
      "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
    ]
  },
  "canApprove": true,
  "pendingApproval": 1,
  "publishingEnabled": true,
  "accounts": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "network": "…",
      "label": "…",
      "canPublish": true,
      "reconnectRequired": true
    }
  ]
}

Webhook events

Changes of this feature that webhooks can send.

  • social_post.createdCreate
  • social_post.updatedUpdate
  • social_post.publishedUpdate
  • social_post.failedUpdate
  • social_post.deletedDelete