invitations

POST /api/invitations/{token}/accept

Changed on

Accept an invitation. Logged in: join as yourself. Not logged in: give a name and a password to create an account with the invited address, join, and be logged in. If the address already has an account, log in first.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid
    • or none

Path parameters

tokenstring required

Request body

emailstring email

Only for an invitation shared as a link, which has no address.

firstNamestring
lastNamestring
passwordstring

Response

idinteger required
namestring required
emailstring email required
isEditorboolean required
identityConfirmedboolean required

Whether Frikanalen has confirmed who they are: needed to set up airtime.

Changes

    • breaking

      added to the oneOf[#/components/schemas/InvitationsAcceptCreateValidationError]/errors/items response property oneOf list for the response status

    • info

      added the new optional request property email

    • info

      added email discriminator mapping keys to the oneOf[#/components/schemas/InvitationsAcceptCreateValidationError]/errors/items response property for the response status