cURL
curl --request POST \ --url https://api.withampersand.com/v1/orgs/{orgId}/invites \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "email": "alice@company.com" }'
{ "id": "<string>", "invitedEmail": "<string>", "parentType": "org", "parentId": "<string>", "status": "pending", "createTime": "2023-11-07T05:31:56Z", "updateTime": "2023-11-07T05:31:56Z" }
ID of the organization.
The newly created invite
The response is of type object.
object
Was this page helpful?