cURL
curl --request POST \ --url https://api.veryfront.com/projects/{project_reference}/invites \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com", "role": "admin" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "role": "<string>", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "invited_by": "<string>", "created_at": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
admin
editor
viewer
Invite created successfully