Skip to content

Audiences overview ​

An audience is a named list of who can see restricted work items. You define an audience once for the workspace, then attach it to a work item type to restrict every work item of that type, or to a single work item to restrict only that one. People the audience doesn't admit stop seeing the restricted work items anywhere in Plane, even when their project role would normally let them.

An audience holds three kinds of entries: workspace roles, project roles, and individual users. It has no teamspace or group entries.

Every audience route needs the Work item security feature on the workspace's plan. Without it, they return 402 payment_required.

Learn more about work item security

The audience object ​

Attributes ​

  • id string (uuid)

    Unique identifier for the audience. This is the id you send in add and remove when you attach the audience to a work item type or a work item.

  • name string

    Display name, for example Security response. Maximum 255 characters, and unique among the workspace's audiences.

  • description string

    Free-form note on what the audience is for. Empty string when not set.

  • logo_props object

    Icon descriptor managed by the Plane editor. Send back the value you read instead of building it by hand. Defaults to {}.

  • is_active boolean

    Whether the audience restricts anything. Defaults to true. An inactive audience keeps its entries and its attachments, but the work items it is attached to are visible as if it weren't there. See Inactive audiences.

  • workspace_role_ids array of string

    ids of the workspace roles whose holders the audience admits. The workspace owner and admin roles never appear here, because those members always see restricted work items.

  • project_role_ids array of string

    ids of the project roles whose holders the audience admits. A holder is admitted only to work items in the projects where they hold that role.

  • member_ids array of string

    User ids the audience admits by name, whatever their role. Returned as an empty array unless you can edit audiences. Callers who can only view audiences still see the admitted users through List an audience's effective users.

  • usage_count integer

    How many work item types and work items the audience is attached to. Deleted work items don't count.

  • created_at string (date-time)

    When the audience was created.

  • updated_at string (date-time)

    When the audience was last updated. Attaching it to a work item type or a work item doesn't change this.

  • created_by_id string (uuid) or null

    The user who created the audience.

  • updated_by_id string (uuid) or null

    The user who last updated the audience. null until someone updates it.

  • members array of object

    Returned only with ?expand=members. The users behind member_ids, each with id, display_name, avatar_url, and email. Empty unless you can edit audiences.

Response200
json
{
  "id": "8bcf2c8f-7bd0-4d0c-bdc6-82df9fa1f312",
  "name": "Security response",
  "description": "Can see vulnerability reports and security incidents.",
  "logo_props": {},
  "is_active": true,
  "workspace_role_ids": ["2d9928ef-5023-492a-aa63-98d19b8c52ca"],
  "project_role_ids": ["9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88"],
  "member_ids": ["7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71"],
  "usage_count": 2,
  "created_at": "2026-11-18T09:12:44.231907Z",
  "updated_at": "2026-11-19T11:41:08.873260Z",
  "created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
  "updated_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430"
}

Endpoints ​

MethodPathDescription
GET/api/v2/workspaces/{slug}/audiences/List audiences
GET/api/v2/workspaces/{slug}/audiences/{pk}/Get an audience
POST/api/v2/workspaces/{slug}/audiences/Create an audience
PATCH/api/v2/workspaces/{slug}/audiences/{pk}/Update an audience
DELETE/api/v2/workspaces/{slug}/audiences/{pk}/Delete an audience
GET/api/v2/workspaces/{slug}/audiences/{pk}/effective-users/List an audience's effective users
GET/api/v2/workspaces/{slug}/audiences/{pk}/work-item-types/List an audience's work item types
GET/api/v2/workspaces/{slug}/audiences/{pk}/work-items/List an audience's work items

GET routes need workspaces.audiences:read and the others need workspaces.audiences:write. Each audience also keeps an audit trail of its changes. See Audience activities.

You attach audiences on the restricted resource, not here:

RestrictEndpoints
Every work item of a workspace work item typeGet and update /api/v2/workspaces/{slug}/work-item-types/{pk}/audiences/
Every work item of a project work item typeGet and update /api/v2/workspaces/{slug}/projects/{project_id}/work-item-types/{pk}/audiences/
One work itemGet and update /api/v2/workspaces/{slug}/projects/{project_id}/work-items/{pk}/audiences/

Who can see a restricted work item ​

A work item is restricted when at least one active audience applies to it. These people can see it:

  • Workspace owners and admins. They always have access, so their roles can't be added to workspace_role_ids.
  • Holders of a workspace role in workspace_role_ids.
  • Holders of a project role in project_role_ids, for work items in the projects where they hold that role. A project admin is not admitted automatically: the project admin role has to be in project_role_ids, or the person in member_ids.
  • Users in member_ids. Only active workspace members can be added.
  • The work item's own assignees and subscribers, even when no audience admits them.

Everyone else gets 404 for the work item and doesn't see it in lists. A person needs to match only one of the audiences that apply.

An audience can be empty. Attached, an empty audience leaves the work item visible only to workspace owners and admins and to its own assignees and subscribers.

Assigning or subscribing someone gives them access

Assignees and subscribers always see the work item, so adding someone as either one admits them, whatever the audience says.

Effective users ​

List an audience's effective users resolves the audience into people. It returns the workspace owners and admins, the users in member_ids, and everyone who holds one of the audience's workspace or project roles, as workspace member rows. Only active workspace members are listed.

Project-role holders count from any project unless you pass ?project_id=, which keeps only holders in that project. The list doesn't include each work item's assignees and subscribers, and it doesn't depend on is_active.

Type-level and item-level restriction ​

An audience restricts work items at one of two levels:

  • Work item type. Attached to a type, it restricts every work item of that type. For a workspace type, that covers every project that uses the type. Only people the type's audiences admit can create work items of the type. For anyone else, a create or update that sets the type returns 400, as if the type didn't exist.
  • Single work item. Attached to a work item, it restricts only that work item.

A work item's own audiences override its type's. When a work item has an active audience of its own, only its own audiences apply, and the type's are ignored for it. When it has none, it follows its type. The two levels never combine.

Get a work item's audiences tells you which level applies: source says where the listed audiences come from, and enforced_source says which level restricts the work item.

Inactive audiences ​

Only active audiences restrict anything. Setting is_active to false keeps the audience's entries and attachments, so turning it back on restores the restriction.

While an audience is inactive, the work items it is attached to are visible to anyone with normal project access, unless another active audience still applies. When all of a work item's own audiences are inactive, the audiences on its type apply instead.

Changing entries versus changing attachments ​

The two kinds of write behave differently:

  • Entries on the audience. On Update an audience, each of workspace_role_ids, project_role_ids, and member_ids replaces that whole list when you send it, and stays as it is when you leave it out. Send [] to clear one.
  • Attachments. On the .../audiences/ routes of a work item type or a work item, PATCH takes add and remove arrays of audience ids and changes only the ids you name. Attaching an audience that is already attached, or detaching one that isn't, changes nothing. The response is the full list after the change.

Permissions ​

ActionWho can do it
List and read audiences, and their child listsMembers with the view-audiences permission. Workspace owners, admins, members, and guests have it.
See member_ids and ?expand=membersMembers who can edit audiences
Create, update, and delete audiencesWorkspace owners and admins, or a custom role with the create, edit, or delete audiences permission
Attach audiences to a workspace work item typeMembers who can edit workspace work item types
Attach audiences to a project work item typeMembers who can edit that project's work item types
Attach audiences to a work itemMembers who can edit the work item

An audience you can't view returns 404 on every route that names it.

Response shaping ​

Every audience read accepts ?fields= for sparse responses and ?expand=members to embed the users behind member_ids. List rows and single reads return the same fields. See Sparse fields and Expanding relations. Errors follow the shared problem+json contract.