Deputy Management API

The Management API from Deputy — 10 operation(s) for management.

Operations 10

GET /v1/my/location/{id} Get location by id #
POST /v1/my/setup/addNewWorkplace Add New Workplace #
GET /v1/supervise/empshiftinfo/{employeeid} Find out an employees status #
GET /v1/supervise/getrecommendation/{id} Get suggestions for roster by id #
POST /v1/supervise/journal Post a journal #
POST /v1/supervise/leave Add leave for a employee #
GET /v1/supervise/leave/{employeeid} Find an employees leave #
PUT /v1/supervise/memo Create a memo #
POST /v1/supervise/unavail Add unavailability details for a employee #
GET /v1/supervise/unavail/{employeeid} Get unavailability details for a employee #

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-addanemployee-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-createa-department-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-addleaveforaemployee-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-createamemo-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-add-new-workplace-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-setawardforemployee-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-custom-field-data-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-timesheet-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-employee-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-pay-rules-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-roster-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-employee-agreement-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-tenanttimesheetv2model-timesheet-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-pay-comparison-submit-report-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-v2model-leave-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-v2model-employment-contracts-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-copy-request-copy-request-data-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-v2model-area-profile-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-searchfor-employment-contract-leave-rules-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-searchforan-employee-agreement-history-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-searchforan-employee-availability-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-searchforacustomfielddataentry-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-searchforan-employment-condition-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-searchforan-employment-contract-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-hr-export-export-hr-bulk-data-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-user-info-get-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-hr-export-export-hr-data-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/deputy/refs/heads/main/json-schema/deputy-hr-export-export-hr-pay-details-data-response-schema.json

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-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

deputy-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deputy Management API
  contact: {}
  version: '1.0'
servers:
- url: https://{install}.{geo}.deputy.com/api
  variables:
    install:
      default: ''
    geo:
      default: ''
security:
- httpBearer: []
tags:
- name: Management
paths:
  /v1/my/location/{id}:
    get:
      tags:
      - Management
      summary: Get location by id
      operationId: Getlocationbyid
      parameters:
      - name: id
        in: path
        description: The company id
        required: true
        style: simple
        schema:
          minimum: 1
          type: integer
          format: int32
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/my/setup/addNewWorkplace:
    post:
      tags:
      - Management
      summary: Add New Workplace
      description: 'This endpoint allows you to add a new workplace/location to your existing Deputy install.


        | **Data element** | **Requirements** | **Notes** |

        | --- | --- | --- |

        | strWorkplaceName | String naming the workplace | |

        | stWorkplaceTimezone | Timezone for the workplace using TZ database naming | See this website for information

        |

        | strAddress | String of the locations address | |

        | strLat | The latitude of the location using a string | |

        | strLon | The longitude of the location using a string | |

        | intCountry | An integer which defines which country the location is in | |

        | arrAreaNames | An array of the area names to add to the location | Example : \[''Chef'', ''Cashier''\] |

        | strWorkplaceCode | A string with a length of 3 allowing you to define a short code for the location | |

        | strParentCompany | Name or integer id of the company the location belongs to | Optional |

        | strPayrollExportCode | String naming what to use as a code for payroll exports to applications such as Xero | Optional |

        | blnIsWorkplace | Whether the location is considered a workplace | Boolean

        1 - True

        0 - False |

        | blnIsPayrollEntity | Whether the location has payroll setup | Boolean

        1- True

        0 - False |


        **Example**


        ``` json

        {

        "strWorkplaceName": "Simons Sambos - Sydney",

        "strWorkplaceTimezone": "Australia/Sydney",

        "strAddress": "580 George St",

        "strLat": "151.2093",

        "strLon": "33.8688",

        "intCountry": 13,

        "arrAreaNames": ["Chef", "Cashier"],

        "strWorkplaceCode": "SYD",

        "strPayrollExportCode": "SYDEXPORT",

        "blnIsWorkplace": 1,

        "blnIsPayrollEntity": 1

        }


        ```'
      operationId: AddNewWorkplace
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AddNewWorkplaceRequest'
              - example:
                  strWorkplaceName: Simons Sambos - Sydney2
                  strWorkplaceTimezone: Australia/Sydney
                  strAddress: 580 George St
                  strLat: '151.2093'
                  strLon: '33.8688'
                  intCountry: 13
                  arrAreaNames:
                  - Chef
                  - Cashier
                  strWorkplaceCode: SYD
                  strPayrollExportCode: SYDEXPORT
                  blnIsWorkplace: 1
                  blnIsPayrollEntity: 1
            example:
              strWorkplaceName: Simons Sambos - Sydney2
              strWorkplaceTimezone: Australia/Sydney
              strAddress: 580 George St
              strLat: '151.2093'
              strLon: '33.8688'
              intCountry: 13
              arrAreaNames:
              - Chef
              - Cashier
              strWorkplaceCode: SYD
              strPayrollExportCode: SYDEXPORT
              blnIsWorkplace: 1
              blnIsPayrollEntity: 1
        required: true
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/empshiftinfo/{employeeid}:
    get:
      tags:
      - Management
      summary: Find out an employees status
      operationId: Findoutanemployeesstatus
      parameters:
      - name: employeeid
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/getrecommendation/{id}:
    get:
      tags:
      - Management
      summary: Get suggestions for roster by id
      description: 'Example

        ``` json

        {

        "strContent": "Hello, this is a memo",

        "intCompany": 1,

        "blnRequireConfirm": 0

        }

        ```'
      operationId: Getsuggestionsforrosterbyid
      parameters:
      - name: id
        in: path
        description: The roster id
        required: true
        style: simple
        schema:
          minimum: 1
          type: integer
          format: int32
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/journal:
    post:
      tags:
      - Management
      summary: Post a journal
      description: 'Example


        ``` json

        {

        "strComment": "This is a journal",

        "intEmployeeId": 1

        }


        ```'
      operationId: Postajournal
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/PostajournalRequest'
              - example:
                  strComment: This is a journal
                  intEmployeeId: 1
            example:
              strComment: This is a journal
              intEmployeeId: 1
        required: true
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/leave:
    post:
      tags:
      - Management
      summary: Add leave for a employee
      description: 'Example


        ``` json

        {

        "Status": 1,

        "Employee": 1,

        "DateStart": "2022/01/01",

        "DateEnd": "2022/01/02",

        "ApprovalComment": "Hello this is leave",

        "ActionOverlappingRosters": 0

        }


        ```'
      operationId: Addleaveforaemployee
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AddleaveforaemployeeRequest'
              - example:
                  Status: 1
                  Employee: 1
                  DateStart: 2022/01/01
                  DateEnd: 2022/01/02
                  ApprovalComment: Hello this is leave
                  ActionOverlappingRosters: 0
            example:
              Status: 1
              Employee: 1
              DateStart: 2022/01/01
              DateEnd: 2022/01/02
              ApprovalComment: Hello this is leave
              ActionOverlappingRosters: 0
        required: true
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/leave/{employeeid}:
    get:
      tags:
      - Management
      summary: Find an employees leave
      description: 'Example

        ``` json

        {

        "strContent": "Hello, this is a memo",

        "intCompany": 1,

        "blnRequireConfirm": 0

        }

        ```'
      operationId: Findanemployeesleave
      parameters:
      - name: employeeid
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/memo:
    put:
      tags:
      - Management
      summary: Create a memo
      description: 'Example

        ``` json

        {

        "strContent": "Hello, this is a memo",

        "intCompany": 1,

        "blnRequireConfirm": 0

        }

        ```'
      operationId: CreateAMemo
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/CreateamemoRequest'
              - example:
                  strContent: Hello, this is a memo
                  intCompany: 1
                  blnRequireConfirm: 0
            example:
              strContent: Hello, this is a memo
              intCompany: 1
              blnRequireConfirm: 0
        required: true
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
      x-operation-id-source: normalized
      x-operation-id-original: Create a memo
  /v1/supervise/unavail:
    post:
      tags:
      - Management
      summary: Add unavailability details for a employee
      description: 'Example


        ``` json

        {

        "employee": 1,

        "start": {

        "timestamp": 1657001675

        },

        "end": {

        "timestamp": 1657001676

        },

        "strComment": "Here is a note for some unavailability",

        "recurrence": {

        "FREQ": "WEEKLY",

        "INTERVAL": 2,

        "BYDAY": "MO"

        }

        }


        ```'
      operationId: Addunavailabilitydetailsforaemployee
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AddunavailabilitydetailsforaemployeeRequest'
              - example:
                  employee: 1
                  start:
                    timestamp: 1657001675
                  end:
                    timestamp: 1657001676
                  strComment: Here is a note for some unavailability
                  recurrence:
                    FREQ: WEEKLY
                    INTERVAL: 2
                    BYDAY: MO
            example:
              employee: 1
              start:
                timestamp: 1657001675
              end:
                timestamp: 1657001676
              strComment: Here is a note for some unavailability
              recurrence:
                FREQ: WEEKLY
                INTERVAL: 2
                BYDAY: MO
        required: true
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
  /v1/supervise/unavail/{employeeid}:
    get:
      tags:
      - Management
      summary: Get unavailability details for a employee
      description: 'Example

        ``` json

        {

        "strContent": "Hello, this is a memo",

        "intCompany": 1,

        "blnRequireConfirm": 0

        }

        ```'
      operationId: Getunavailabilitydetailsforaemployee
      parameters:
      - name: employeeid
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: ''
          headers: {}
          content: {}
      deprecated: false
components:
  schemas:
    AddunavailabilitydetailsforaemployeeRequest:
      title: AddunavailabilitydetailsforaemployeeRequest
      required:
      - employee
      - start
      - end
      - strComment
      - recurrence
      type: object
      properties:
        employee:
          type: integer
          format: int32
        start:
          $ref: '#/components/schemas/Start'
        end:
          $ref: '#/components/schemas/End'
        strComment:
          type: string
        recurrence:
          $ref: '#/components/schemas/Recurrence'
    PostajournalRequest:
      title: PostajournalRequest
      required:
      - strComment
      - intEmployeeId
      type: object
      properties:
        strComment:
          type: string
          description: Text to include in the journal
        intEmployeeId:
          type: integer
          format: int32
          description: Which employee record should have this journal added
    AddNewWorkplaceRequest:
      title: AddNewWorkplaceRequest
      required:
      - strWorkplaceName
      - strAddress
      type: object
      properties:
        strWorkplaceName:
          type: string
        strWorkplaceTimezone:
          type: string
        strAddress:
          type: string
        strLat:
          type: string
        strLon:
          type: string
        intCountry:
          type: integer
          format: int32
        arrAreaNames:
          type: array
          items:
            type: string
          description: ''
        strWorkplaceCode:
          type: string
        strPayrollExportCode:
          type: string
        blnIsWorkplace:
          type: integer
          format: int32
        blnIsPayrollEntity:
          type: integer
          format: int32
    End:
      title: End
      required:
      - timestamp
      type: object
      properties:
        timestamp:
          type: integer
          format: int32
    AddleaveforaemployeeRequest:
      title: AddleaveforaemployeeRequest
      required:
      - Status
      - Employee
      - DateStart
      - DateEnd
      - ApprovalComment
      - ActionOverlappingRosters
      type: object
      properties:
        Status:
          type: integer
          format: int32
          description: 0 - Awaiting approval, 1 - approved, 2 - Declined, 3 - Cancelled
        Employee:
          type: integer
          format: int32
          description: Employee id record
        DateStart:
          type: string
          description: Start date of the leave
        DateEnd:
          type: string
          description: End date of the leave
        ApprovalComment:
          type: string
          description: Any comment left regarding approval of leave
        ActionOverlappingRosters:
          type: integer
          format: int32
    Start:
      title: Start
      required:
      - timestamp
      type: object
      properties:
        timestamp:
          type: integer
          format: int32
    CreateamemoRequest:
      title: CreateamemoRequest
      required:
      - strContent
      - intCompany
      type: object
      properties:
        strContent:
          type: string
          description: Text to include in memo
        intCompany:
          type: integer
          format: int32
          description: Location ID record
        blnRequireConfirm:
          type: integer
          format: int32
          description: 0 No, 1 Yes
        arrAssignedCompanyIds:
          type: array
          items:
            type: integer
            format: int32
            description: Array of Location ID records
        arrAssignedUserIds:
          type: array
          items:
            type: integer
            format: int32
            description: Array of User IDs (Not employee ids) to get the memo
    Recurrence:
      title: Recurrence
      required:
      - FREQ
      - INTERVAL
      - BYDAY
      type: object
      properties:
        FREQ:
          type: string
        INTERVAL:
          type: integer
          format: int32
        BYDAY:
          type: string
  securitySchemes:
    httpBearer:
      type: http
      scheme: bearer
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
  - https://developer.deputy.com/reference/getmytasks.md
  - https://developer.deputy.com/reference/getmytimesheets.md
  - https://developer.deputy.com/reference/getmytraining.md
  - https://developer.deputy.com/reference/getoperationalunits.md
  - https://developer.deputy.com/reference/getrostersavailableforswap.md
  - https://developer.deputy.com/reference/getsimplifiedlocationlist.md
  - https://developer.deputy.com/reference/getsuggestionsforrosterbyid.md
  - https://developer.deputy.com/reference/getunavailabilitydetailsforaemployee.md
  - https://developer.deputy.com/reference/inviteemployeetodeputy.md
  - https://developer.deputy.com/reference/modifysettingsinalllocations.md
  - https://developer.deputy.com/reference/modifysettingsinasinglelocation.md
  - https://developer.deputy.com/reference/myaddressonfile.md
  - https://developer.deputy.com/reference/myaddressonfileincludingemergency.md
  - https://developer.deputy.com/reference/myleaverequests.md
  - https://developer.deputy.com/reference/pauseorunpauseemployeestimesheettakeabreakfinishbreak.md
  - https://developer.deputy.com/reference/postajournal.md
  - https://developer.deputy.com/reference/publisharoster.md
  - https://developer.deputy.com/reference/re-activateaterminatedemployee.md
  - https://developer.deputy.com/reference/removealocationfromanemployee.md
  - https://developer.deputy.com/reference/retrievecurrentsystemtime.md
  - https://developer.deputy.com/reference/retrievecurrentsystemtimeofalocation.md
  - https://developer.deputy.com/reference/retrievesalesdata.md
  - https://developer.deputy.com/reference/setawardforemployee.md
  - https://developer.deputy.com/reference/startanemployeestimesheetclockon.md
  - https://developer.deputy.com/reference/stopanemployeestimesheetclockoff.md
  - https://developer.deputy.com/reference/terminateanemployee.md
  - https://developer.deputy.com/reference/updatealocation.md
  - https://developer.deputy.com/reference/updateanexistingemployee.md
  - https://developer.deputy.com/reference/updateasingleoperationalunit.md
  - https://developer.deputy.com/reference/updatemyaddress.md
  - https://developer.deputy.com/reference/viewatimesheetbyid.md
  - https://developer.deputy.com/reference/whatlocationscaniworkin.md
  - https://developer.deputy.com/reference/whenaminextworking.md
  - https://developer.deputy.com/reference/whenamiunavailable.md
  - https://developer.deputy.com/reference/wherecaniworkwhatdoido.md
  - https://developer.deputy.com/reference/whodoiworkwith.md
  merge:
    pages: 69
    deduped: 70
    conflicts_kept_first: 0