api > thera > contractor > Contractor Pro API

Get Contractor Pro for Employee

One contractor's Contractor Pro record, including whether it is currently active. Returns 404 if the contractor has never been given Contractor Pro.

get/companies/{companyId}/contractor-pro/{employeeUserId}

Request

  • Base URL: https://api.getthera.com
  • URL: https://api.getthera.com/companies/{companyId}/contractor-pro/{employeeUserId}
  • Auth: API key in header X-Thera-API-Key

Path parameters

companyIdstring required
employeeUserIdstring required

Response

Response with status 200

employeeUserIdstring required

The contractor's user ID

employeeNamestring

The contractor's full name

companyIdstring required

The company ID

isActiveboolean required

Whether Pro is currently active

createdAtstring

When Pro was activated. Null when Pro is cancelled.

createdByUserIdstring

Admin who activated Pro. Null when Pro is cancelled.

lastBilledDatestring

The last date this Pro subscription was billed. Format: YYYY-MM-DD

Changes

No recorded changes to this operation across all 1 revision of this API.