Overview


You can call Crisalix API's by including either an access_token query parameter or an Authorization: Bearer HTTP header. When possible, the HTTP header is preferable, because query strings tend to be visible in server logs.

HTTP GET example:

GET /patients HTTP/1.1 Authorization: Bearer <access_token> Host: https://api3d.crisalix.com

Here is a call to the same API for the authenticated user using the access_token query string parameter:

GET https://api3d.crisalix.com/patients?access_token=<access_token>

Here is an example call using cURL:

curl -X POST https://api3d.crisalix.com/patients \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -F "patient[name]=Jane Doe" \ -F "patient[email]=jane@example.com" \ -F "reconstruction[type]=mammo" \ -F "reconstruction[provider]=4" \ -F "reconstruction[left]=@/path/to/left.jpg" \ -F "reconstruction[front]=@/path/to/front.jpg" \ -F "reconstruction[right]=@/path/to/right.jpg" \ -F "reconstruction[nipple_to_nipple]=18"