Deputy Company API

Operations on the Company resource

GitHub OpenAPI

Operations 23

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /resource/Company List companies · List Company records #
Ask an LLM
“Which companies exist in our Deputy account?”
“Can I page through all company records?”
Tell an agent
List all companies.
Show every company record I have access to.
GET /resource/Company/INFO Get company field metadata · Get field metadata for Company #
Ask an LLM
“What fields and types does the company record have?”
“Which company fields can I query on?”
Tell an agent
Show the field metadata for the company record.
List the company fields, their types and associations.
POST /resource/Company/PREDICT Find an existing company by name · Predict-match a Company record #
Ask an LLM
“How do I find the existing company record for a new company name?”
“Can I match a company by name and payroll settings before creating it?”
Tell an agent
Predict the company record matching name {CompanyName} with payroll entity {IsPayrollEntity} and active {Active}.
Find the existing company for {CompanyName} with code {Code}.
POST /resource/Company/QUERY Search companies · Search Company #
Ask an LLM
“Can I search companies by name or code?”
“How do I sort and page company search results?”
Tell an agent
Search companies matching {search}.
Find companies sorted by {sort}, {max} at a time.
GET /resource/Company/{id} Get a company · Get a Company by id #
Ask an LLM
“What details are stored for one company?”
“Can I look up a company by its id?”
Tell an agent
Get company {id}.
Show the record for company {id}.
GET /resource/Company/{id}/COMMENTS List comments on a company · List comments on a Company #
Ask an LLM
“What comments have been left on a company?”
“Can I see the comment history for a company?”
Tell an agent
List comments on company {id}.
Show the comment history for company {id}.
POST /resource/Company/{id}/COMMENTS Comment on a company · Add a comment to a Company #
Ask an LLM
“How do I leave a comment on a company?”
“Can I annotate a company record with a note?”
Tell an agent
Add comment {Comment} to company {id}.
Comment {Comment} on company {id}.
DELETE /resource/Company/{id}/COMMENTS/{commentId} Delete a comment on a company · Delete a comment on a Company #
Ask an LLM
“How do I remove a comment from a company?”
“Can I delete a comment on a company record?”
Tell an agent destructive · confirm first
Delete comment {commentId} from company {id}.
Remove comment {commentId} on company {id}.
GET /resource/Company/{id}/HISTORY Get a company's change history · Get change history for a Company #
Ask an LLM
“What changes have been made to a company over time?”
“Can I see the edit history of a company?”
Tell an agent
Show the change history of company {id}.
List all edits made to company {id}.
GET /resource/Company/{id}/HISTORY/travel/{timestamp} View a company as it was at a past time · Get a Company as it existed at a prior time #
Ask an LLM
“How do I see a company's record as it existed at a past moment?”
“Can I travel back to a company's state at a given timestamp?”
Tell an agent
Show company {id} as it was at {timestamp}.
Travel back to company {id} at {timestamp}.
PUT /supervise/company Create a company · Create Company #
Ask an LLM
“How do I create a new company record?”
“Can I add a company through the supervise endpoint?”
Tell an agent
Create a company.
Add a new company record.
POST /supervise/company/all/settings Set all company settings · POST Company / settings #
Ask an LLM
“How do I set every company setting at once?”
“Can I bulk-update all company settings?”
Tell an agent
Set all company settings.
Apply every company setting in one call.
POST /supervise/company/bulk/settings Bulk update company settings · POST Company / settings #
Ask an LLM
“Can I update company settings for many companies in one request?”
“How do I bulk-set company settings?”
Tell an agent
Bulk update company settings.
Apply company settings to multiple companies at once.
GET /supervise/company/bulk/settings/check/{jobId} Check a bulk company settings job · GET Company / :jobId #
Ask an LLM
“Has my bulk company settings job finished?”
“How do I check the status of a bulk company settings job?”
Tell an agent
Check bulk company settings job {jobId}.
Show the status of company settings job {jobId}.
GET /supervise/company/simple Get a simple company record · GET Company / simple #
Ask an LLM
“Can I get a lightweight company record without full details?”
“What does the simple company endpoint return?”
Tell an agent
Get the simple company record.
Fetch a minimal company record.
GET /supervise/company/timezone Get the company timezone · GET Company / timezone #
Ask an LLM
“What timezone is set on the company?”
“Can I read the company's timezone?”
Tell an agent
Get the company timezone.
Show the timezone configured for the company.
POST /supervise/company/{id} Update a company · POST Company / :id #
Ask an LLM
“How do I update an existing company record?”
“Can I edit a company through the supervise endpoint?”
Tell an agent
Update company {id}.
Edit the existing company {id}.
POST /supervise/company/{id}/archive Archive a company · POST Company / archive #
Ask an LLM
“How do I archive a company?”
“Can I archive a company without deleting it?”
Tell an agent destructive · confirm first
Archive company {id}.
Archive company {id} so it is no longer active.
POST /supervise/company/{id}/cascade/settings Cascade settings to a company · POST Company / settings #
Ask an LLM
“How do I cascade settings down to a company?”
“Can I push settings to a company and its children?”
Tell an agent
Cascade settings to company {id}.
Push settings down to company {id}.
POST /supervise/company/{id}/delete Delete a company · POST Company / delete #
Ask an LLM
“How do I delete a company?”
“Can I permanently remove a company record?”
Tell an agent destructive · confirm first
Delete company {id}.
Permanently remove company {id}.
POST /supervise/company/{id}/googlePlaceId/{googlePlaceId} Link a company to a Google Place ID · POST Company / :googlePlaceId #
Ask an LLM
“How do I attach a Google Place ID to a company for location supervision?”
“Can I link a company's location to a place in Google Maps?”
Tell an agent
Link company {id} to Google Place {googlePlaceId}.
Attach Google Place ID {googlePlaceId} to company {id}.
GET /supervise/company/{id}/settings Get a company's supervision settings · GET Company / settings #
Ask an LLM
“What supervision settings are configured for a company?”
“Can I read a company's supervision settings?”
Tell an agent
Show the supervision settings for company {id}.
Get company {id}'s supervision settings.
POST /supervise/company/{id}/settings Update a company's supervision settings · POST Company / settings #
Ask an LLM
“How do I change the supervision settings of a company?”
“Can I update a company's supervision settings?”
Tell an agent
Update the supervision settings of company {id}.
Save new supervision settings for company {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/deputy:deputy-company-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

deputy-company-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deputy Company API
  version: 1.0.0
  description: 'Operations tagged Company across 2 of this provider''s published API definitions: deputy-v1-resource-api-openapi.yml, deputy-v1-supervise-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{subdomain}.{region}.deputy.com/api/v1
  description: Deputy tenant
  variables:
    subdomain:
      default: your-subdomain
    region:
      default: deputy
      enum:
      - au
      - eu
      - na
      - deputy
tags:
- name: Company
  description: Operations on the Company resource
paths:
  /resource/Company:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: List Company records
      description: Returns Company records the authenticated caller is permitted to see. For large tables prefer POST /QUERY with pagination.
      operationId: listCompany
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company'
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/INFO:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: Get field metadata for Company
      description: Returns the field list, types, and associations for this resource. Useful when building integrations that need to know which fields are queryable.
      operationId: infoCompany
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/PREDICT:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: Predict-match a Company record
      description: Returns the closest matching existing record for a partial payload. Used by upsert-style integrations to find an existing row before creating.
      operationId: predictCompany
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Company'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Company'
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/QUERY:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: Search Company
      description: 'Flexible search endpoint. Body supports `search`, `sort`, `start`, `max`, and `join` clauses. Example: `{"search": {"s1": {"field": "Id", "data": 1, "type": "eq"}}}`.'
      operationId: searchCompany
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QueryRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company'
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/{id}:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: Get a Company by id
      operationId: getCompanyById
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: Numeric id of the resource
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Company'
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/{id}/COMMENTS:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: List comments on a Company
      operationId: getCommentsCompany
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: Numeric id of the resource
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    Id:
                      type: integer
                    Comment:
                      type: string
                    Creator:
                      type: integer
                    Created:
                      type: string
                      format: date-time
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
    post:
      tags:
      - Company
      summary: Add a comment to a Company
      operationId: addCommentCompany
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: Numeric id of the resource
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                Comment:
                  type: string
              required:
              - Comment
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/{id}/COMMENTS/{commentId}:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    delete:
      tags:
      - Company
      summary: Delete a comment on a Company
      operationId: deleteCommentCompany
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: Numeric id of the resource
      - name: commentId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/{id}/HISTORY:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: Get change history for a Company
      operationId: historyCompany
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: Numeric id of the resource
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company'
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /resource/Company/{id}/HISTORY/travel/{timestamp}:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: Get a Company as it existed at a prior time
      operationId: historyCompanyTravel
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
        description: Numeric id of the resource
      - name: timestamp
        in: path
        required: true
        schema:
          type: integer
          format: int64
        description: Unix epoch seconds
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Company'
        '400':
          description: Bad request
        '401':
          description: Authentication required or invalid token
        '403':
          description: Forbidden — token lacks access to this resource
        '404':
          description: Resource not found
      security:
      - BearerAuth: []
      - OAuth2: []
  /supervise/company:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    put:
      tags:
      - Company
      summary: Create Company
      operationId: supervise_company__put
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/all/settings:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / settings
      operationId: supervise_company__all_settings_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/bulk/settings:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / settings
      operationId: supervise_company__bulk_settings_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/bulk/settings/check/{jobId}:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: GET Company / :jobId
      operationId: supervise_company__bulk_settings_check_jobid_get
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      security:
      - BearerAuth: []
  /supervise/company/simple:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: GET Company / simple
      operationId: supervise_company__simple_get
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      security:
      - BearerAuth: []
  /supervise/company/timezone:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: GET Company / timezone
      operationId: supervise_company__timezone_get
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      security:
      - BearerAuth: []
  /supervise/company/{id}:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / :id
      operationId: supervise_company__id_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          pattern: \d+
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/{id}/archive:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / archive
      operationId: supervise_company__id_archive_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          pattern: \d+
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/{id}/cascade/settings:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / settings
      operationId: supervise_company__id_cascade_settings_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          pattern: \d+
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/{id}/delete:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / delete
      operationId: supervise_company__id_delete_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          pattern: \d+
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/{id}/googlePlaceId/{googlePlaceId}:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    post:
      tags:
      - Company
      summary: POST Company / :googlePlaceId
      operationId: supervise_company__id_googleplaceid_googleplaceid_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: googlePlaceId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
  /supervise/company/{id}/settings:
    servers:
    - url: https://{subdomain}.{region}.deputy.com/api/v1
      description: Deputy tenant
      variables:
        subdomain:
          default: your-subdomain
        region:
          default: deputy
          enum:
          - au
          - eu
          - na
          - deputy
    get:
      tags:
      - Company
      summary: GET Company / settings
      operationId: supervise_company__id_settings_get
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          pattern: \d+
      security:
      - BearerAuth: []
    post:
      tags:
      - Company
      summary: POST Company / settings
      operationId: supervise_company__id_settings_post
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad request
        '401':
          description: Not authenticated
        '403':
          description: Insufficient permissions
        '404':
          description: Not found
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          pattern: \d+
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      security:
      - BearerAuth: []
components:
  schemas:
    Company:
      type: object
      properties:
        Id:
          type: integer
        Portfolio:
          type: integer
        Code:
          type: string
          maxLength: 6
        Active:
          type: boolean
        ParentCompany:
          type: integer
        CompanyName:
          type: string
          maxLength: 200
        TradingName:
          type: string
          maxLength: 32
        BusinessNumber:
          type: string
          maxLength: 32
        CompanyNumber:
          type: string
          maxLength: 64
        IsWorkplace:
          type: boolean
        IsPayrollEntity:
          type: boolean
        PayrollExportCode:
          type: string
          maxLength: 255
        Address:
          type: integer
        Contact:
          type: integer
        Creator:
          type: integer
        Created:
          type: string
          format: date-time
        Modified:
          type: string
        ParentCompanyObject:
          type: object
        AddressObject:
          type: object
        ContactObject:
          type: object
      required:
      - Id
      - Code
      - CompanyName
      - IsWorkplace
      - IsPayrollEntity
      - Modified
    QueryRequest:
      type: object
      description: V1 Resource search payload. All fields optional; an empty body returns the first page of results.
      properties:
        search:
          type: object
          description: Map of search clauses keyed by an arbitrary id (e.g. `s1`, `s2`). Each clause filters one field.
          additionalProperties:
            type: object
            required:
            - field
            - data
            - type
            properties:
              field:
                type: string
                description: Field name to filter on (e.g. `Id`, `Employee`).
              data:
                description: Comparison value. Type depends on the field.
              type:
                type: string
                description: Comparison operator.
                enum:
                - eq
                - ne
                - gt
                - lt
                - ge
                - le
                - is
                - is not
                - in
                - not in
                - starts
                - contains
        sort:
          type: object
          description: Map of field name → `asc` or `desc`.
          additionalProperties:
            type: string
            enum:
            - asc
            - desc
        start:
          type: integer
          minimum: 0
          default: 0
          description: Pagination offset (0-indexed).
        max:
          type: integer
          minimum: 1
          maximum: 500
          default: 100
          description: Max records per page (server caps at 500).
        join:
          type: array
          items:
            type: string
          description: Related ORMs to expand inline (e.g. `["EmployeeObject"]`).
      example:
        search:
          s1:
            field: Id
            data: 1
            type: ge
        max: 100
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 access token or Deputy Permanent Token.
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://once.deputy.com/my/oauth/login
          tokenUrl: https://once.deputy.com/my/oauth/access_token
          scopes:
            longlife_refresh_token: Extended session
x-refined-from:
- deputy-v1-resource-api-openapi.yml
- deputy-v1-supervise-api-openapi.yml
x-provenance:
  method: searched
  source: https://developer.deputy.com/reference
  harvested: '2026-10-14'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://developer.deputy.com/reference/addalocation.md
  - https://developer.deputy.com/reference/addalocationagainstanemployee.md
  - https://developer.deputy.com/reference/addanemployee.md
  - https://developer.deputy.com/reference/addasaletosalesmetrics.md
  - https://developer.deputy.com/reference/addawebhookurl.md
  - https://developer.deputy.com/reference/addleaveforaemployee.md
  - https://developer.deputy.com/reference/addnewworkplace.md
  - https://developer.deputy.com/reference/addunavailabilitydetailsforaemployee.md
  - https://developer.deputy.com/reference/archivealocation.md
  - https://developer.deputy.com/reference/copyaroster.md
  - https://developer.deputy.com/reference/create-a-memo.md
  - https://developer.deputy.com/reference/createadepartment.md
  - https://developer.deputy.com/reference/createmultipledepartments.md
  - https://developer.deputy.com/reference/deletealocation.md
  - https://developer.deputy.com/reference/deleteanemployeesaccountindeputy.md
  - https://developer.deputy.com/reference/deleteasingleoperationalunit.md
  - https://developer.deputy.com/reference/discardaroster.md
  - https://developer.deputy.com/reference/doatask.md
  - https://developer.deputy.com/reference/example-searchforemployeesfromalocation.md
  - https://developer.deputy.com/reference/findanemployeesleave.md
  - https://developer.deputy.com/reference/findoutanemployeesstatus.md
  - https://developer.deputy.com/reference/getagreedhoursbyemployeeid.md
  - https://developer.deputy.com/reference/getalistofrostersfromlast12hoursandforward36hours.md
  - https://developer.deputy.com/reference/getalocationssettings.md
  - https://developer.deputy.com/reference/getawardslibrarylist.md
  - https://developer.deputy.com/reference/getdetailsforaemployeebyid.md
  - https://developer.deputy.com/reference/getdetailsforallemployees.md
  - https://developer.deputy.com/reference/getlocationbyid.md
  - https://developer.deputy.com/reference/getlocations.md
  - https://developer.deputy.com/reference/getmyindividualtimesheet.md
  - https://developer.deputy.com/reference/getmynewsfeed.md
  - https://developer.deputy.com/reference/getmynotifications.md
  - https://developer.deputy.com/reference/getmysubordinatecontactdetails.md


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/deputy/openapi/deputy-company-api-openapi.yml