Skip to main content
Accept a workspace invitation as the signed-in matching user
curl --request POST \
  --url https://api.acornops.dev/api/v1/workspace-invitations/{token}/accept \
  --cookie acornops_cp_session=
{
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role": "<string>",
  "email": "jsmith@example.com",
  "displayName": "<string>",
  "roleTemplate": {
    "key": "<string>",
    "displayName": "<string>",
    "capabilities": [
      "<string>"
    ],
    "protected": true,
    "sortOrder": 123,
    "description": "<string>"
  },
  "joinedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.acornops.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

acornops_cp_session
string
cookie
required

Path Parameters

token
string
required
Example:

"wi_example"

Response

Invitation accepted and membership created.

workspaceId
string<uuid>
required
userId
string<uuid>
required
role
string
required
email
string<email>
displayName
string
roleTemplate
object
joinedAt
string<date-time>