Skip to content
localisyncDocs
Open panel

Accept your invitation

Available only to the invitation recipient signed into the bound account. Acceptance checks expiry, current invitation state and workspace state; a link alone grants no membership.

POST /api/v1/invitations/{id}/accept

Operation: acceptInvitation · Download OpenAPI

Requires an authenticated Localisync panel session. The API checks current membership and permissions for workspace operations. See authentication and request rules.

sessionCookie

{
"type": "apiKey",
"in": "cookie",
"name": "__Host-localisync-session"
}
Name Location Required Description
id path Yes See constraints below.
X-CSRF-Token header Yes See constraints below.
Origin header Yes See constraints below.
{
"type": "string",
"format": "uuid"
}
{
"type": "string"
}
{
"type": "string",
"format": "uri"
}

No request body.

Completed.

Content type: application/json Schema reference: InvitationResponse.

Field Type Required Constraints / description
workspaceId string Yes format: "uuid"
{
"$ref": "#/components/schemas/InvitationResponse"
}

Invalid request fields, identifier, pagination or idempotency key.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

An authenticated, verified customer session is required.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

The current member lacks permission or CSRF/Origin validation failed.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

The resource is missing or not visible to the current customer.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

Stale version, conflicting idempotency key or unavailable invitation/workspace state.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

Request or invitation send limit reached. Respect Retry-After in seconds; route limits return the remaining window, invitation limits return 60.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

A required database, identity or email service is unavailable; no successful send is claimed.

Content type: application/json Schema reference: Error.

Field Type Required Constraints / description
error string Yes —
message string Yes —
requestId string No —
{
"$ref": "#/components/schemas/Error"
}

Request errors and safe retries · Troubleshooting

Cookie preferences

Your choice applies to localisync.com and docs.localisync.com. You can change it at any time using Cookie settings.