---
title: "Create a patient"
method: POST
path: "/patient"
tags: ["patient"]
---

# Create a patient

`POST /patient`

Create a patient record.

Example for creating a patient with a group specified using `meta.query` instead of `id`:

```JSON
{
  "data": {
    "type": "patient",
    "attributes": {
      "first_name": "Andrew",
      "last_name": "Smith"
    },
    "relationships": {
      "groups": {
        "data": [
          {
            "type": "group",
            "meta": {
              "query": {
                "organization": "58c88de7c93eb96357a87033",
                "name": "Patients Lead"
              }
            }
          }
        ]
      }
    }
  }
}
```

## Response `201`

Created

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `409` — Invalid Request

---

[API](https://skmtc.net/twinehealth/apis/fitbit-plus-api.md) · [All operations](https://skmtc.net/twinehealth/apis/fitbit-plus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twinehealth/fitbit-plus-api/revisions/1c92481b5836/schema)
