recipe · 2 fieldsbirth certificate
birth certificate
extraction api.
Issued by a municipal or panchayat registrar.
what it reads
the fields.
Rename any of them, drop the ones you don't need, or add the one your form asks for. Each comes back with the text it was read from.
| field | key | type | notes |
|---|---|---|---|
| Full name | full_name | Name | Name of the child |
| Date of birth | date_of_birth | Date | — |
the apia birth certificate in,
a birth certificate in,
json back.
Publish the recipe as a workflow and send it files. Each field returns its value, a clean normalised version, its status, the page and the source text.
curl https://api.patrapi.com/v1/workflows/wf_birth/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@birth-certificate.pdf{ "status": "completed",
"document_type": "birth_certificate",
"fields": {
"full_name": { "value": …, "status": "present", "page": 1 },
"date_of_birth": { "value": …, "status": "present", "page": 1 }
} }