---
title: "Create customer provider"
method: POST
path: "/v2/customers/{id}/providers"
tags: ["Customers.Providers"]
---

# Create customer provider

`POST /v2/customers/{id}/providers`

## Request

- Base URL: `https://api.carecycle.ai`
- URL: `https://api.carecycle.ai/v2/customers/{id}/providers`
- Auth: API key in header `x-api-key`

Add a doctor or other healthcare provider to a customer's record.

## Path parameters

- `id` string, uuid, required: Customer ID

## Request body

- PostV2CustomersIdProvidersRequestBody
  - `providerType` 'Primary Care' | 'Specialist' | 'Hospital' | 'Pharmacy', required
  - `specialty` string, nullable
  - `providerName` string, nullable
  - `practiceName` string, nullable
  - `npi` string, nullable
  - `phone` string, nullable
  - `fax` string, nullable
  - `email` string, nullable
  - `address` string, nullable
  - `address2` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `postalCode` string, nullable
  - `isPrimaryProvider` boolean, nullable
  - `isActive` boolean, nullable
  - `notes` string, nullable
  - `connectureProviderId` string, nullable
  - `connectureAddressId` string, nullable
  - `isIndividual` boolean, nullable

## Response `200`

POST /v2/customers/:id/providers Positive response

- PostV2CustomersIdProvidersPositiveResponse
  - `id` string, uuid, required
  - `createdAt` string, date-time, nullable, required: Provider creation time. ISO 8601 timestamp
  - `updatedAt` string, date-time, nullable, required: Provider last update time. ISO 8601 timestamp
  - `customerId` string, uuid, required
  - `providerType` 'Primary Care' | 'Specialist' | 'Hospital' | 'Pharmacy', required
  - `specialty` string, nullable, required
  - `providerName` string, nullable, required
  - `practiceName` string, nullable, required
  - `npi` string, nullable, required
  - `phone` string, nullable, required
  - `fax` string, nullable, required
  - `email` string, nullable, required
  - `address` string, nullable, required
  - `address2` string, nullable, required
  - `city` string, nullable, required
  - `state` string, nullable, required
  - `postalCode` string, nullable, required
  - `isPrimaryProvider` boolean, nullable, required
  - `isActive` boolean, nullable, required
  - `notes` string, nullable, required
  - `connectureProviderId` string, nullable, required
  - `connectureAddressId` string, nullable, required
  - `isIndividual` boolean, nullable, required

## Other responses

- `400`: POST /v2/customers/:id/providers Negative response 400
- `401`: POST /v2/customers/:id/providers Negative response 401
- `403`: POST /v2/customers/:id/providers Negative response 403
- `404`: POST /v2/customers/:id/providers Negative response 404
- `409`: POST /v2/customers/:id/providers Negative response 409
- `422`: POST /v2/customers/:id/providers Negative response 422
- `429`: POST /v2/customers/:id/providers Negative response 429
- `500`: POST /v2/customers/:id/providers Negative response 500
- `502`: POST /v2/customers/:id/providers Negative response 502
- `503`: POST /v2/customers/:id/providers Negative response 503

---

[API](https://skmtc.dev/carecycle/apis/carecycle-public-api.md) - [All operations](https://skmtc.dev/carecycle/apis/carecycle-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/carecycle/apis/carecycle-public-api/revisions/db390c743c36?raw)
