POST
/
members
curl --request POST \
  --url https://sandbox.withclasp.com/members \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "dob": "2023-12-25",
  "ssn": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "employer": "<string>",
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "AL",
    "zip_code": "<string>"
  },
  "hire_date": "2023-12-25",
  "termination_date": "2023-12-25",
  "payroll_provider_external_id": "<string>",
  "biological_sex": "male",
  "hours_worked": "<string>",
  "pay_frequency": "weekly",
  "employment_status": "full_time",
  "subclasses": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "dob": "2023-12-25",
  "ssn_last_four": "<string>",
  "email": "jsmith@example.com",
  "phone_number": "<string>",
  "employer": "<string>",
  "address": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "AL",
    "zip_code": "<string>"
  },
  "enrollments": [
    "<string>"
  ],
  "hire_date": "2023-12-25",
  "termination_date": "2023-12-25",
  "payroll_provider_external_id": "<string>",
  "biological_sex": "male",
  "hours_worked": "<string>",
  "pay_frequency": "weekly",
  "employment_status": "full_time",
  "subclasses": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Body

first_name
string
required
Maximum length: 255
last_name
string
required
Maximum length: 255
dob
string
required
employer
string
required
address
object
required
hire_date
string
required
ssn
string
email
string | null
Maximum length: 254
phone_number
string | null
Maximum length: 10
termination_date
string | null
payroll_provider_external_id
string | null
Maximum length: 255
biological_sex
  • male - Male
  • female - Female
Available options:
male,
female
hours_worked
string
pay_frequency
enum<string>
  • weekly - Weekly
  • biweekly - Biweekly
  • semimonthly - Semimonthly
  • monthly - Monthly
Available options:
weekly,
biweekly,
semimonthly,
monthly
employment_status
enum<string>
  • full_time - Full Time
  • part_time - Part Time
Available options:
full_time,
part_time
subclasses
string[]

Response

201 - application/json
id
string
required
first_name
string
required
Maximum length: 255
last_name
string
required
Maximum length: 255
dob
string
required
employer
string
required
address
object
required
hire_date
string
required
ssn_last_four
string
email
string | null
Maximum length: 254
phone_number
string | null
Maximum length: 10
enrollments
string[]
termination_date
string | null
payroll_provider_external_id
string | null
Maximum length: 255
biological_sex
  • male - Male
  • female - Female
Available options:
male,
female
hours_worked
string
pay_frequency
enum<string>
  • weekly - Weekly
  • biweekly - Biweekly
  • semimonthly - Semimonthly
  • monthly - Monthly
Available options:
weekly,
biweekly,
semimonthly,
monthly
employment_status
enum<string>
  • full_time - Full Time
  • part_time - Part Time
Available options:
full_time,
part_time
subclasses
string[]