Skip to content

add_company_member

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/add_company_member
HandlerOperatelyWeb.Api.Mutations.AddCompanyMember

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
full_namestringYesNo-
emailstringYesNo-
titlestringYesNo-

Outputs#

FieldTypeRequiredNullable
invite_linkinvite_link objectYesNo
new_accountbooleanYesNo
person_idstringNoYes

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/add_company_member" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"email":"value", "full_name":"value", "title":"value"}'

Response Example#

{
  "invite_link": {
    "allowed_domains": [
      "value"
    ],
    "author": "<person>",
    "company": "<company>",
    "company_id": "value",
    "expires_at": "2026-01-01T09:30:00Z",
    "id": "value",
    "inserted_at": "2026-01-01T09:30:00Z",
    "is_active": true,
    "token": "value",
    "type": "value",
    "use_count": 123
  },
  "new_account": true,
  "person_id": "value"
}