Skip to content

Create Contractor

Create a new contractor record. Requires the CONTRACTOR_MANAGEMENT feature flag and ADMIN or MANAGE_CONTRACTORS permissions.

Parameters

name * are required parametersdata typedescription
body.name*stringThe contractor's display name
body.emailstringThe contractor's email address
body.phonestringThe contractor's phone number
body.companystringThe contractor's company name

Return Value

The created contractor record.

Examples

bash
curl -X POST "https://app.wombat.software/api/{targetPath}/contractor" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..." \
  -d '{"name": "Acme Contractors Ltd.", "email": "contact@acme.com"}'

ENDPOINTS

post/api/{targetPath}/contractor