curl --request POST \
--url http://0.0.0.0:3000/v1/organizations/{id}/invitations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "amigo@email.com",
"expiresAt": null
}
'{
"id": "inv_abc123",
"email": "amigo@email.com",
"status": "Pending"
}curl --request POST \
--url http://0.0.0.0:3000/v1/organizations/{id}/invitations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "amigo@email.com",
"expiresAt": null
}
'{
"id": "inv_abc123",
"email": "amigo@email.com",
"status": "Pending"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID da organização
Invitation created