Skip to main content

Share Custom Report

POST 

/api/v2/custom-reports/:customReport/shares

Share a report with a user of your account, or change the permission of an existing share (sharing with the same user again updates it). Only the owner can share (403 otherwise).

Required scope: reports:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body:

  • user_id (integer, required): a user who belongs to this account (see Search Share Recipients); any other id returns 422, and so does your own id
  • permission (string, required): view (can see, run, export and duplicate) or edit (can also update and restore versions)

Returns 201 with the share in data.

Authentication: Bearer token (Personal Access Token). Personal access tokens need the reports:write scope.

Request​

Responses​

Created

Response Headers
    Content-Type