API Reference
- Getting Started
- Charges
- Invoices
- Items
- Patients
- Providers
- Roles
- Rules
- Webhooks
Providers
Provider Create
Create a new Provider
POST
/
v1
/
provider
/
create
Copy
curl --request POST \
--url https://api.decodahealth.com/v1/provider/create \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"city": "<string>",
"country": "<string>",
"email": "<string>",
"externalUserId": "<string>",
"firebaseUid": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"meta": {},
"phoneNumber": "<string>",
"roles": [
"<string>"
],
"state": "<string>",
"type": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"zipCode": "<string>"
}'
Copy
{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"city": "<string>",
"country": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"email": "<string>",
"externalUserId": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"meta": {},
"phoneNumber": "<string>",
"roles": [
{
"name": "<string>"
}
],
"state": "<string>",
"type": "<string>",
"zipCode": "<string>"
}
Headers
The tenant you are making this request on behalf of
Your api key
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Copy
curl --request POST \
--url https://api.decodahealth.com/v1/provider/create \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"city": "<string>",
"country": "<string>",
"email": "<string>",
"externalUserId": "<string>",
"firebaseUid": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"meta": {},
"phoneNumber": "<string>",
"roles": [
"<string>"
],
"state": "<string>",
"type": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"zipCode": "<string>"
}'
Copy
{
"address": "<string>",
"addressLineTwo": "<string>",
"addressValid": true,
"city": "<string>",
"country": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"email": "<string>",
"externalUserId": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"meta": {},
"phoneNumber": "<string>",
"roles": [
{
"name": "<string>"
}
],
"state": "<string>",
"type": "<string>",
"zipCode": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.