POST
/
business_units
cURL
curl --request POST \
  --url https://sandbox.withclasp.com/business_units \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "employer": "<string>",
  "public_id": "<string>",
  "legal_name": "<string>",
  "trade_name": "<string>",
  "federal_ein": "<string>",
  "is_primary": true,
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "AL",
    "zip_code": "<string>"
  },
  "phone_number": "<string>",
  "email": "<string>"
}'
{
  "id": "<string>",
  "employer": "<string>",
  "public_id": "<string>",
  "legal_name": "<string>",
  "trade_name": "<string>",
  "federal_ein": "<string>",
  "is_primary": true,
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "AL",
    "zip_code": "<string>"
  },
  "phone_number": "<string>",
  "email": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Body

Response

201 - application/json

The response is of type object.