Invite the creditor
After onboarding a creditor through our API, you will usually want to invite one or several user to the Kravia customer portal so that they can manage the creditor and future invoices.
All users will be added to a workspace for the creditor.
curl 'https://api.kravia.ai/api/v2/creditor/{creditorId}/invite' \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: YOUR_SECRET_TOKEN' \
--data '{
"email": "primary.contact@email.com",
"name": "John Doe",
"isAccountant": false
}'

