User
Accept an invite
Authentication
WRITE API
- Write
READ API
- Read
PLATFORM API
- OAuth
- Project
- Provider App
- Integration
- Revision
- Installation
- Objects & Fields
- Operation
- Provider
- API Key
- Connection
- Group
- Consumer
- Destination
- Upload URL
- Org
- User
- Billing Account
User
Accept an invite
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
.
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"
}
}
}