Create a new customer
Creates a new customer with a unique identifier and name. Customers can be used to group and manage users, studies, and access permissions across the Avara platform.
Body ParametersJSON
Name of the Express customer to create
Custom key-value metadata for the Express customer. Maximum 50 pairs
Returns
Timestamp when the Express customer was created
Unique Express customer identifier. Format: cus_{32-hex-chars}
Name of the Express customer
Whether the Express customer is currently active
Timestamp when the Express customer was last updated
Number of users currently in this Express customer
UUID of the API key used to create this Express customer, for audit tracking
User ID who created this Express customer via dashboard, null if created via API key
Custom key-value metadata for the Express customer. Maximum 50 pairs, keys up to 100 chars, values up to 1000 chars
Create a new customer
curl https://api.avarasoftware.com/v1/express \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $AVARA_API_KEY" \
-d '{
"expressCustomerName": "City Medical Center - Radiology Department"
}'{
"createdAt": "2024-01-15T09:00:00Z",
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center - Radiology Department",
"isActive": true,
"updatedAt": "2024-03-15T14:20:00Z",
"userCount": 15,
"createdByApiKeyId": "550e8400-e29b-41d4-a716-446655440000",
"createdByUserId": "usr_1234567890abcdef1234567890abcdef",
"metadata": {
"department": "radiology",
"region": "northeast"
}
}Returns Examples
{
"createdAt": "2024-01-15T09:00:00Z",
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center - Radiology Department",
"isActive": true,
"updatedAt": "2024-03-15T14:20:00Z",
"userCount": 15,
"createdByApiKeyId": "550e8400-e29b-41d4-a716-446655440000",
"createdByUserId": "usr_1234567890abcdef1234567890abcdef",
"metadata": {
"department": "radiology",
"region": "northeast"
}
}