Posts Api Service

Creates a new library post.

post/v2/scheduler/library/posts

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/scheduler/library/posts
  • Auth: none declared

Request body

idinteger
shortenerboolean
draftboolean
saveExternalMediaFilesboolean
parentIdinteger
descendantsLibraryPostDto[] circular
hasNotReadNotesboolean
tagsstring
performanceDashboardIdsinteger[]

Example request

{
  "notes": [
    {
      "mentions": [
        {
          "userId": 12345,
          "agencyId": 37,
          "agencyUserId": 156
        }
      ],
      "mentionId": "a:37:156"
    }
  ],
  "assignee": {
    "userId": 12345,
    "agencyId": 42,
    "agencyUserId": 7
  },
  "state": {
    "id": 123
  }
}

Response

OK

metadataobject

Example response

{
  "data": {
    "notes": [
      {
        "mentions": [
          {
            "userId": 12345,
            "agencyId": 37,
            "agencyUserId": 156
          }
        ],
        "mentionId": "a:37:156"
      }
    ],
    "assignee": {
      "userId": 12345,
      "agencyId": 42,
      "agencyUserId": 7
    },
    "state": {
      "id": 123
    }
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.