Skip to main content
POST
/
v1
/
organizations
Create organization
curl --request POST \
  --url https://api.clinikapi.com/v1/organizations \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "active": true,
  "type": [
    "<string>"
  ],
  "alias": [
    "<string>"
  ],
  "phone": "<string>",
  "email": "<string>",
  "address": {
    "line": [
      "<string>"
    ],
    "city": "<string>",
    "state": "<string>",
    "postalCode": "<string>",
    "country": "<string>"
  },
  "partOfId": "<string>",
  "contact": [
    {
      "purpose": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "phone": "<string>",
      "email": "<string>"
    }
  ]
}
'

Authorizations

x-api-key
string
header
required

Your ClinikAPI secret key (clk_live_* or clk_test_*)

Body

application/json
name
string
required
Maximum string length: 500
active
boolean
type
string[]
alias
string[]
phone
string
email
string
address
object
partOfId
string

Parent organization ID

contact
object[]

Response

201

Organization created