add_project_contributors
Endpoint#
| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/add_project_contributors |
| Handler | OperatelyWeb.Api.Mutations.AddProjectContributors |
Authentication#
- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
Inputs#
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
project_id | string | Yes | No | - |
contributors | array of project_contributor_input object | Yes | No | - |
Outputs#
| Field | Type | Required | Nullable |
|---|---|---|---|
success | boolean | Yes | No |
cURL Example#
Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/add_project_contributors" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"contributors":[{"access_level":"no_access", "person_id":"value", "responsibility":"value"}], "project_id":"value"}'Response Example#
{
"success": true
}