Register a new organization and user
When provided appropriate credentials, this route updates an API user's information for registration.
POST
/register
curl \
--request POST 'https://sandbox-api.canopyservicing.com/register' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name_first":"Harriet","name_last":"Martins","password":"newSecretPassword123!","email":"harriet@acmecorporation.com","organization_name":"Acme Corporation"}'
Request examples
{
"name_first": "Harriet",
"name_last": "Martins",
"password": "newSecretPassword123!",
"email": "harriet@acmecorporation.com",
"organization_name": "Acme Corporation"
}
Response examples (200)
{
"api_user_id": "dc3d83c5-b31e-48eb-80e7-38f12ac1a6e5",
"organization_name": "Lever Card 3000",
"name_first": "Analise",
"name_last": "Goldberg",
"email": "marissa@globex.com",
"phone": "1-123-456-7890",
"role": 1
}