cURL
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" } } }
The email address that the invite was sent to
Information about the current user and their organizations and projects
Show child attributes
A map of project IDs to project roles for the builder.
Was this page helpful?