registration
default

πŸ‘€ Accept the account membership invitation and finish registration. The user must be already authorized in Auth0.

Changed on
put/invite/accept

Request

Request body

emailstring email

Calling user's email address.

namestring

Calling user's name.

urlstring url required

Invitation URL. Users are supposed to click it and become admins or regular account members.

Example request

{
  "url": "https://app.athenian.co/i/deadf88d",
  "email": "vadim@athenian.co"
}

Response

Details about the new user.

accountinteger required

Joined account ID.

Example response

{
  "user": {
    "id": "github|60340681",
    "native_id": "60340681",
    "login": "gkwillie",
    "name": "Groundskeeper Willie",
    "email": "bot@athenian.co",
    "picture": "https://avatars0.githubusercontent.com/u/60340681?v=4",
    "updated": "2020-01-23T12:00:00Z"
  },
  "account": 0
}

Changes

    • info

      added the required property /// to the response with the status