---
title: "Get the users that can be assigned to library posts of the brand. Each entry carries the badge to render for the requesting session, which badges whoever is not of its own kind: CLIENT on the agency end clients for a Metricool session, STAFF on everyone who is not an agency end client for an agency end-client session, absent for its own peers. The email is omitted for agency end-client sessions."
method: GET
path: "/v2/scheduler/library/posts/assignable-users"
tags: ["Library Posts Assignee Api Service"]
---

# Get the users that can be assigned to library posts of the brand. Each entry carries the badge to render for the requesting session, which badges whoever is not of its own kind: CLIENT on the agency end clients for a Metricool session, STAFF on everyone who is not an agency end client for an agency end-client session, absent for its own peers. The email is omitted for agency end-client sessions.

`GET /v2/scheduler/library/posts/assignable-users`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/scheduler/library/posts/assignable-users`
- Auth: none declared

## Response `200`

OK

- JsonOkListResponseLibraryPostAssignableUserDto
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` LibraryPostAssignableUserDto[]
    - `label` 'CLIENT' | 'STAFF': Badge to show next to the user, relative to the requesting session: CLIENT (an agency end client, as seen by a Metricool session), STAFF (anyone who is not an agency end client, as seen by an agency end-client session), or absent for no badge.
    - `userId` integer: Regular user id of the user. Absent for an agency end client.
    - `agencyId` integer: Agency id of the user. Only for an agency end client.
    - `agencyUserId` integer: Agency user id of the user. Only for an agency end client.
    - `name` string: Display name of the user, or null when it cannot be resolved.
    - `email` string: Email of the user. Omitted for agency end-client sessions, which must not see the emails of the agency staff nor of the other clients.
    - `profilePicture` string: Public URL of the user's 400x400 profile picture. Absent when they have none, in which case the frontend renders its initials fallback. Filled for agency end clients too (ES5MPTM3-7292), resolved separately in one bulk call per picker response.

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/cd0ca612fa01?raw)
