Skip to main content
POST
/
api
/
v2
/
integrations
/
wellsky
/
{slug}
/
insurances
Create WellSky insurance
curl --request POST \
  --url https://api.example.com/api/v2/integrations/wellsky/{slug}/insurances \
  --header 'Content-Type: application/json' \
  --data '
{
  "WSCLV6": 123,
  "WSCNUM": 123,
  "INSINFO": {
    "MKISDT": 123,
    "MKITDT": 123,
    "MKIUBC": 123,
    "MKIPLN": 123,
    "MKIRNK": 123,
    "MKISNM": "<string>",
    "MKIRLC": "<string>",
    "MKISSN": "<string>",
    "MKISBD": 123,
    "MKIDLT": 0,
    "MKISSX": "<string>",
    "MKIRSC": "<string>",
    "MKIPLY": "<string>",
    "MKIPLYNEW": "",
    "MKIGRP": "<string>",
    "MKIGNM": "<string>",
    "MKICIP": 0,
    "MKIMXC": 123,
    "MKIDED": 123,
    "MKIDAM": 123,
    "MKIOOP": 123,
    "MKIOPA": 123,
    "MKILIN": 0,
    "MKIFDY": 123,
    "MKICD2": 123,
    "MKIMLP": 123,
    "MKIQPN": 123,
    "MKIDLF": 123,
    "MKITAL": 123,
    "SHOWSKILL": "N",
    "MKITRA": "<string>",
    "MKIPSV": "<string>",
    "MKICMT": "<string>",
    "MKISNF": "<string>",
    "MKIHBN": "<string>",
    "MKIHCO": "<string>",
    "MKIMBN": "<string>",
    "NEWADDRL1": "<string>",
    "NEWADDRL2": "<string>",
    "NEWADDRCTY": "<string>",
    "NEWADDRST": "<string>",
    "NEWADDRZIP": "<string>"
  },
  "WSOPTN": "C",
  "WRNFLAG": "",
  "INSCMTINFO": [],
  "INSCMTCT": 0
}
'
{
  "error": "<string>",
  "message": "<string>",
  "statusCode": 123,
  "details": {}
}

Path Parameters

slug
string
required

The slug of the WellSky connection.

Body

application/json
WSCLV6
number
required

Level 6 identifier (facility/location code)

WSCNUM
number
required

Contact number (patient/client ID)

INSINFO
object
required

Insurance information

WSOPTN
string
default:C

Operation type (C=Create, U=Update, D=Delete)

WRNFLAG
string
default:""

Warning flag

INSCMTINFO
any[]

Insurance comments

INSCMTCT
number
default:0

Insurance comment count

Response

Default Response