Skip to main content

REST API: Scopes and Required Permissions

Scopes a Custom API key needs for each Vitally REST API endpoint.

Written by Ethan Patrick

Each REST API endpoint requires specific scopes when you use a Custom API key. API keys created with the data.read and data.write scopes work with all endpoints.

A Custom key needs read access to every related resource an endpoint returns, in addition to the scope for the resource itself. For example, listing accounts also returns team members, so the key needs accounts.read and team_members.read. When a request uses a key that lacks a required scope, the API returns a 403 error that names the missing scope.

Endpoint paths are relative to https://{subdomain}.rest.vitally.io/resources. Where an endpoint has a section in the REST API documentation, the path links to it.

Accounts

Method

Path

Scopes

GET

accounts.read, team_members.read

GET

/accounts/search

accounts.read, team_members.read

GET

accounts.read, team_members.read

GET

/accounts/:accountId/users/search

users.read, accounts.read, organizations.read

GET

users.read, accounts.read, organizations.read

GET

notes.read, accounts.read, organizations.read, users.read, team_members.read, note_categories.read

GET

tasks.read, accounts.read, organizations.read, team_members.read, task_categories.read, projects.read

GET

meetings.read, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

GET

projects.read, accounts.read, organizations.read, team_members.read, project_categories.read

POST

projects.write, accounts.read, organizations.read, team_members.read, project_categories.read

GET

nps_responses.read, users.read

GET

custom_object_instances.read, accounts.read, organizations.read

GET

accounts.read

POST

accounts.write, team_members.read

PUT

accounts.write, team_members.read

DELETE

accounts.write

Organizations

Method

Path

Scopes

GET

organizations.read, team_members.read

GET

/organizations/search

organizations.read, team_members.read

GET

organizations.read, team_members.read

GET

notes.read, accounts.read, organizations.read, users.read, team_members.read, note_categories.read

GET

tasks.read, accounts.read, organizations.read, team_members.read, task_categories.read, projects.read

GET

meetings.read, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

GET

users.read, accounts.read, organizations.read

GET

accounts.read, team_members.read

GET

projects.read, accounts.read, organizations.read, team_members.read, project_categories.read

POST

projects.write, accounts.read, organizations.read, team_members.read, project_categories.read

GET

nps_responses.read, users.read

GET

custom_object_instances.read, accounts.read, organizations.read

POST

organizations.write, team_members.read

PUT

organizations.write, team_members.read

DELETE

organizations.write

Users

Method

Path

Scopes

GET

users.read, accounts.read, organizations.read

GET

users.read, accounts.read, organizations.read

GET

users.read, accounts.read, organizations.read

POST

users.write, accounts.read, organizations.read

PUT

users.write, accounts.read, organizations.read

DELETE

users.write

Team members / admins

Method

Path

Scopes

GET

team_members.read

GET

team_members.read

GET

team_members.read

Notes

Method

Path

Scopes

GET

notes.read, accounts.read, organizations.read, users.read, team_members.read, note_categories.read

POST

notes.write, accounts.read, organizations.read, users.read, team_members.read, note_categories.read

PUT

notes.write, accounts.read, organizations.read, users.read, team_members.read, note_categories.read

GET

notes.read, accounts.read, organizations.read, users.read, team_members.read, note_categories.read

DELETE

notes.write

Note categories

Method

Path

Scopes

GET

note_categories.read

Tasks

Method

Path

Scopes

GET

tasks.read, accounts.read, organizations.read, team_members.read, task_categories.read, projects.read

POST

tasks.write, accounts.read, organizations.read, team_members.read, task_categories.read, projects.read

PUT

tasks.write, accounts.read, organizations.read, team_members.read, task_categories.read, projects.read

GET

tasks.read, accounts.read, organizations.read, team_members.read, task_categories.read, projects.read

DELETE

tasks.write

Task categories

Method

Path

Scopes

GET

task_categories.read

Projects

Method

Path

Scopes

POST

projects.write, accounts.read, organizations.read, team_members.read, project_categories.read

GET

projects.read, accounts.read, organizations.read, team_members.read, project_categories.read

GET

projects.read, accounts.read, organizations.read, team_members.read, project_categories.read

PUT

projects.write, accounts.read, organizations.read, team_members.read, project_categories.read

DELETE

projects.write

Project–task links

Method

Path

Scopes

POST

projects.write, tasks.write

DELETE

projects.write, tasks.write

Project categories and templates

Method

Path

Scopes

GET

project_categories.read

GET

project_templates.read

Meetings

Method

Path

Scopes

GET

meetings.read, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

POST

meetings.write, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.write

POST

meetings.read, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

PUT

meetings.write, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

GET

meetings.read, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

DELETE

meetings.write

Meeting participants

Method

Path

Scopes

POST

meetings.write, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

DELETE

meetings.write

Meeting transcripts

Method

Path

Scopes

GET

meeting_transcripts.read

GET

meeting_transcripts.read

POST

meeting_transcripts.write, meetings.read, accounts.read, organizations.read, users.read, team_members.read, notes.read, note_categories.read, tasks.read, task_categories.read, projects.read, meeting_transcripts.read

GET

meeting_transcripts.read

POST

meeting_transcripts.write

Conversations

Method

Path

Scopes

GET

conversations.read

GET

conversations.read

GET

conversations.read

POST

conversations.write, messages.write, accounts.read, organizations.read, users.read, team_members.read

PUT

conversations.write, messages.write, accounts.read, organizations.read, users.read, team_members.read

GET

conversations.read, messages.read, accounts.read, organizations.read, users.read, team_members.read

DELETE

conversations.write

Messages

Method

Path

Scopes

POST

messages.write, conversations.read

PUT

/messages/:id

messages.write, conversations.read

GET

messages.read, conversations.read

DELETE

messages.write

NPS responses

Method

Path

Scopes

GET

nps_responses.read, users.read

POST

nps_responses.write, users.read

PUT

nps_responses.write, users.read

GET

nps_responses.read, users.read

DELETE

nps_responses.write

Custom fields

Method

Path

Scopes

GET

properties.read

GET

/customFields/notes

properties.read

GET

/customFields/tasks

properties.read

Custom objects

Method

Path

Scopes

GET

custom_objects.read, properties.read

GET

custom_objects.read, properties.read

POST

custom_objects.write, properties.read

PUT

custom_objects.write, properties.read

Custom object instances

Method

Path

Scopes

GET

custom_object_instances.read, accounts.read, organizations.read

GET

custom_object_instances.read, accounts.read, organizations.read

POST

custom_object_instances.write, accounts.read, organizations.read

PUT

custom_object_instances.write, accounts.read, organizations.read

DELETE

custom_object_instances.write

POST

/customObjects/:customObjectId/instances/:instanceId/unarchive

custom_object_instances.write, accounts.read, organizations.read

Custom object links

Surveys

Method

Path

Scopes

GET

surveys.read

GET

surveys.read

GET

surveys.read

Did this answer your question?