Skip to main content
Include the access token and your API key on every request with a gzip-compressed JSON body.
The examples below are simplified for clarity. For production use — with token caching and automatic 401 retry — see Token Lifecycle.
# Compress the JSON payload and pipe directly to curl
printf '{"controlNumber":"12345","billType":"professional","jurisdiction":"CA","providerTaxId":"123456789","providerZip":"90210","lines":[{"lineNumber":1,"cpt":"99213","serviceDate":"2025-07-15","charge":175.00,"units":1}]}' \
  | gzip -c \
  | curl -X POST {your_api_endpoint}/v1/review \
      -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
      -H "x-api-key: billsentry_prod_yourcompany_1234" \
      -H "Content-Type: application/json" \
      -H "Content-Encoding: gzip" \
      --data-binary @-