Teams

Accept an invitation

Joins the invitation’s workspace with the role it offers and returns the new membership. Needs a verified email address and a free team seat in that workspace. The workspace becomes the default only when the account had none.

POST
/invitations/{id}/acceptance

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

Id of an invitation sent to the calling account's email address.

Response

application/json

Success

workspaceobjectrequired
roleenum<string>required

The account's role here: owner (one per workspace, the only one who can transfer ownership), admin (can change the profile, setup, team and billing) or member (works in the workspace without those rights).

Available options: owner, admin, member

defaultbooleanrequired

True when calls without a bavlio-workspace header act in this workspace.

email_noticesobjectrequired

Which email notices the member receives, true for on: reply_needs_answer when a lead's reply needs an answer, meeting_booked and meeting_canceled when a meeting is booked or canceled, trial_ending a few days before the workspace's trial ends (sent to the owner and admins only). New members start with only trial_ending on.