Skip to navigation

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.

Authentication

X-Thera-API-Keystring
API Key authentication via header

Path parameters

companyIdstringRequired
employeeUserIdstringRequired

Response

This endpoint returns an object.
employeeUserIdstring
The contractor's user ID
companyIdstring
The company ID
isActiveboolean
Whether Pro is currently active
employeeNamestringOptional
The contractor's full name
createdAtstringOptional
When Pro was activated. Null when Pro is cancelled.
createdByUserIdstringOptional
Admin who activated Pro. Null when Pro is cancelled.
lastBilledDatestringOptional

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

pastCancellationslist of objectsOptional
History of cancellations for audit