Create a Client Example

Use the following cURL to create a new client. For information on all the available client objects, see Client Object.

See Regional Instances to find the instance for your region. After creating a client, you must activate the client before you can use the client in other requests. See Update Client Information Using Patch for information.

curl -X POST "https://ilmn-demo.preprod.trusight.illumina.com/crs/api/v1/clients"

-H "accept: */*"

-H "X-Auth-Token: APIKey aWxtbi1kZW1vLGI4ZTU1MzdkLWVhMjctMzM5NC04NTI5LWM1M2JhYjhmNTJmZA"

-H "X-ILMN-Domain: ilmn-demo"

-H "X-ILMN-Workgroup: b684cdd2-80f8-3be5-b328-30d0959f4825"

-H "Content-Type: application/json"

-d "{ "verified": true, "firstName": "Cali",

"lastName": "Fornia",

"email": "healthsystemsofsocal@health.org",

"addresses": [ { "phone": "555-555-5555",

"institutionName": "Health Alliance of Souther California",

"addressLine1": "1234 Genesee Ln.",

"addressLine2": "",

"city": "San Diego",

"region": "CA",

"postalCode": "92202",

"country": "USA" } ],

"credentials": "Doctor",

"nationalProviderIdentifier": "11",

"licenseNumber": "11111111",

"accreditingInstitution": "University of Health for the People",

"foreignRequests": "",

"status": "",

"recipients": [ {

"firstName": "San",

"lastName": "Diego",

"emailAddress": "sandiego@health.org" } ]}"