Deputy Location API

V1 /my/location/* endpoints

GitHub OpenAPI

Operations 8

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 /my/location/all List all my locations · GET Location / all #
Ask an LLM
“Which locations can I supervise as a supervisor?”
“Can I see every location I have access to?”
Tell an agent
List all my locations.
Show every location I supervise.
GET /my/location/geo/{latitude}/{longitude} Find my location by coordinates · GET Location / :longitude #
Ask an LLM
“How do I find the location I'm at using my latitude and longitude?”
“Can I look up a location by its coordinates?”
Tell an agent
Find the location at latitude {latitude} and longitude {longitude}.
Look up my current location by coordinates.
GET /my/location/geo/{latitude}/{longitude}/flag/{flag} Check a location flag at coordinates · GET Location / :flag #
Ask an LLM
“Can I check whether a flag is set on the location at a given latitude and longitude?”
“What does a specific flag on a coordinate location mean?”
Tell an agent
Check flag {flag} on the location at {latitude}, {longitude}.
Read the {flag} flag for my location.
POST /my/location/pending-approval/QUERY Query pending location approvals · POST Location / QUERY #
Ask an LLM
“Which locations are waiting for my approval?”
“Can I run a query against pending location approvals?”
Tell an agent
Query pending location approvals.
Run a pending-approval query for locations.
GET /my/location/{intCompanyId} Get a location · GET Location / (:intCompanyId)? #
Ask an LLM
“How do I look up one location by its ID?”
“What details are stored for a single location?”
Tell an agent
Get location {intCompanyId}.
Show me the details of location {intCompanyId}.
GET /my/location/{intCompanyId}/allowed-kiosk-auth-modes List kiosk auth modes for a location · GET Location / allowed kiosk auth modes #
Ask an LLM
“Which kiosk authentication modes are allowed at a location?”
“What login methods can kiosks use at a location?”
Tell an agent
List allowed kiosk authentication modes for location {intCompanyId}.
Show the kiosk login methods available at location {intCompanyId}.
GET /my/location/{intCompanyId}/weather Get the weather at a location · GET Location / weather #
Ask an LLM
“What is the weather like at a location?”
“Can I fetch current weather for a location?”
Tell an agent
Get the weather at location {intCompanyId}.
Show current weather for location {intCompanyId}.
GET /my/location/{intCompanyId}/weather/{date} Get weather at a location on a date · GET Location / :date #
Ask an LLM
“What was the weather at a location on a past date?”
“Can I get forecasted weather for a location on a specific day?”
Tell an agent
Get weather at location {intCompanyId} for {date}.
Show the forecast for location {intCompanyId} on {date}.

Specifications

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-location-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-location-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deputy V1 My Location API
  version: 1.0.0
  description: 'Generated reference for Deputy''s legacy V1 `/supervise/` (supervisor-level operations) and `/my/` (authenticated-employee operations) endpoints.


    Enumerated statically from router classes under `deputy-webapp/app/api/v1/routers/Super*Router.php` and `My*Router.php`. V1 is in maintenance mode — new integrations should prefer V2.


    This spec covers only the `/my/*` routes. The sibling family is in a separate ReadMe spec.'
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
security:
- BearerAuth: []
tags:
- name: Location
  description: V1 /my/location/* endpoints
paths:
  /my/location/all:
    get:
      tags:
      - Location
      summary: GET Location / all
      operationId: my_location__all_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
  /my/location/geo/{latitude}/{longitude}:
    get:
      tags:
      - Location
      summary: GET Location / :longitude
      operationId: my_location__geo_latitude_longitude_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: latitude
        in: path
        required: true
        schema:
          type: string
      - name: longitude
        in: path
        required: true
        schema:
          type: string
  /my/location/geo/{latitude}/{longitude}/flag/{flag}:
    get:
      tags:
      - Location
      summary: GET Location / :flag
      operationId: my_location__geo_latitude_longitude_flag_flag_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: latitude
        in: path
        required: true
        schema:
          type: string
      - name: longitude
        in: path
        required: true
        schema:
          type: string
      - name: flag
        in: path
        required: true
        schema:
          type: string
  /my/location/pending-approval/QUERY:
    post:
      tags:
      - Location
      summary: POST Location / QUERY
      operationId: my_location__pending_approval_query_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
  /my/location/{intCompanyId}:
    get:
      tags:
      - Location
      summary: GET Location / (:intCompanyId)?
      operationId: my_location__intcompanyid__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: intCompanyId
        in: path
        required: true
        schema:
          type: string
          pattern: ^\d+$
  /my/location/{intCompanyId}/allowed-kiosk-auth-modes:
    get:
      tags:
      - Location
      summary: GET Location / allowed kiosk auth modes
      operationId: my_location__intcompanyid_allowed_kiosk_auth_modes_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: intCompanyId
        in: path
        required: true
        schema:
          type: integer
          pattern: ^\d+
  /my/location/{intCompanyId}/weather:
    get:
      tags:
      - Location
      summary: GET Location / weather
      operationId: my_location__intcompanyid_weather_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: intCompanyId
        in: path
        required: true
        schema:
          type: integer
          pattern: ^\d+
  /my/location/{intCompanyId}/weather/{date}:
    get:
      tags:
      - Location
      summary: GET Location / :date
      operationId: my_location__intcompanyid_weather_date_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: intCompanyId
        in: path
        required: true
        schema:
          type: integer
          pattern: ^\d+
      - name: date
        in: path
        required: true
        schema:
          type: string
          pattern: '[0-9]{4}\-[0-9]{1,2}\-[0-9]{1,2}'
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 access token or Deputy Permanent Token.