POST
/
invites:accept
curl --request POST \
  --url https://api.withampersand.com/v1/invites:accept \
  --header 'Content-Type: application/json' \
  --data '{
  "invitedEmail": "<string>"
}'
{
  "builder": {
    "id": "builder-id-123",
    "idpProvider": "clerk",
    "idpRef": "<string>",
    "createTime": "2023-11-07T05:31:56Z",
    "firstName": "<string>",
    "lastName": "<string>",
    "fullName": "<string>",
    "primaryEmail": "<string>"
  },
  "projectRoles": {},
  "orgRole": {
    "role": "admin",
    "principalType": "team",
    "principalId": "builder-id-123",
    "org": {
      "id": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
      "label": "Acme Inc",
      "defaultTeamId": "<string>",
      "createTime": "2023-11-07T05:31:56Z",
      "updateTime": "2023-11-07T05:31:56Z"
    }
  }
}

Body

application/json

Response

200
application/json
Information about the current user and their organizations and projects

The response is of type object.