API Reference
Reference for the API
Create a new account invitation
cURL
curl --request POST \ --url https://cookiechimp.com/api/v1/account-invitations \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "email": "[email protected]", "role": "admin" }'
{ "id": "inv123", "email": "[email protected]", "role": "member", "invited_by_type": "API", "created_at": "2023-01-25T09:30:20Z", "updated_at": "2023-01-25T09:30:20Z" }
Account invitation to create
The body is of type object.
object
Created account invitation
The response is of type object.
Was this page helpful?