POST/api/custom-schemas/v1
Body Parameters
View in API Reference
Request
$curl -X POST https://api.joincandidhealth.com/api/custom-schemas/v1 \
> -H "Authorization: Bearer " \
> -H "Content-Type: application/json" \
> -d '{
> "name": "General Medicine",
> "fields": [
> {
> "key": "provider_category",
> "type": "STRING"
> },
> {
> "key": "is_urgent_care",
> "type": "BOOLEAN"
> },
> {
> "key": "bmi",
> "type": "DOUBLE"
> },
> {
> "key": "age",
> "type": "INTEGER"
> }
> ],
> "description": "Values associated with a generic visit"
>}'
Response