Skip to main content
POST
/
v1
/
bulk
/
import
Start bulk import
curl --request POST \
  --url https://api.clinikapi.com/v1/bulk/import \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "resourceType": "<string>",
  "data": "<string>"
}
'

Authorizations

x-api-key
string
header
required

Your ClinikAPI secret key (clk_live_* or clk_test_*)

Body

application/json
resourceType
string
required

FHIR resource type (e.g. Patient, Observation)

data
string
required

NDJSON content (one JSON resource per line)

Maximum string length: 104857600

Response

202

Import job started