Contractors
Contractors
Contractors

Get Contractor Employees

Changed on

Returns a paginated list of employees for a specific contractor.

get/contractors/{id}/employees

Request

  • Base URL
    https://api.shovels.ai/v2
  • Auth
    API key in header X-API-Key

Path parameters

idstring required

Filter by the specified contractor ID.

Query parameters

cursorstring nullable

Cursor for pagination

sizeinteger

Response

A list of employees associated with the contractor.

sizeinteger required

The number of items returned in the response.

next_cursorstring nullable required

The cursor for retrieving the next page of results.

Changes

    • breaking

      for the query request parameter size, default value was changed from 50 to 10

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status