Library Posts Assignee Api Service

Set or clear the assignee (responsible team member) of a library post. The assignee is either a regular user (assigneeUserId) or an agency end client (assigneeAgencyUserId); sending both is rejected and sending neither unassigns the post.

put/v2/scheduler/library/posts/{postId}/assignee

Request

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

Path parameters

postIdinteger required

id of the library post.

Request body

assigneeUserIdinteger

Regular user id to assign; null (or omitted) to unassign.

assigneeAgencyUserIdinteger

Agency user id (agency end client) to assign; null (or omitted) to unassign. Mutually exclusive with assigneeUserId.

Example request

{
  "assigneeUserId": 12345,
  "assigneeAgencyUserId": 7
}

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 5 revisions of this API.