Skip to main content
POST
Grant Ticket Access

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
  • Default request: When the request does not set role_id.
  • Role grant with an API key: When the request sets role_id.
  • Role grant with user OAuth: When the request sets role_id.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

ticket_id
string
required

Body

application/json

Adds people and groups to a ticket, or changes their access level.

userIds
string[]
groupIds
string[]
access
enum<string>

Built-in access a person or group has on a ticket.

Available options:
TICKET_ACCESS_LEVEL_UNSPECIFIED,
TICKET_ACCESS_LEVEL_VIEW,
TICKET_ACCESS_LEVEL_EDIT
roleId
string | null

A custom role of the ticket's type to also give them.

Response

200 - application/json

Success

data
TicketAccessGrant · object[]

Grants this call created or changed.