Gupy Company Departments API

The Company Departments API from Gupy, for company departments.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /departments Listing departments #
POST /departments Creating a department #
PUT /departments/{departmentId} Updating a department #

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/gupy:gupy-company-departments-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

gupy-company-departments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gupy Public Company Departments API
  version: 1.0.0
  description: 'You may use __fields=all__ to retrieve all fields,

    but be aware that new fields might be included without further notice.'
servers:
- url: https://api.gupy.io/api/v1
tags:
- name: Company Departments
paths:
  /departments:
    get:
      summary: Listing departments
      tags:
      - Company Departments
      description: Returns a list of company departments.
      security:
      - Bearer: []
      operationId: getDepartments
      parameters:
      - in: query
        name: id
        description: Department id to search for
        schema:
          type: number
          format: int64
      - in: query
        name: name
        description: Department name to search for
        schema:
          type: string
          maxLength: 255
      - in: query
        name: code
        description: Department code to filter
        schema:
          type: string
          maxLength: 200
      - in: query
        name: fields
        description: 'Specify fields to return (eg. fields=id,name or fields=all).\

          Default: id, name, createdAt, updatedAt

          '
        schema:
          type: string
      - $ref: '#/components/parameters/perPage'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: An array of departments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paginatedDepartment'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      summary: Creating a department
      tags:
      - Company Departments
      description: Creates a new department.
      security:
      - Bearer: []
      operationId: createDeparment
      requestBody:
        description: Department to be created
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/departmentRequest'
      responses:
        '201':
          description: A confirmation of successful insertion of the department
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/department'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
  /departments/{departmentId}:
    put:
      summary: Updating a department
      tags:
      - Company Departments
      description: Updates a department.
      security:
      - Bearer: []
      operationId: updateDeparment
      parameters:
      - in: path
        name: departmentId
        description: Department ID
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: Department to be updated
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/departmentRequest'
      responses:
        '200':
          description: A confirmation of successful update of the department
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/department'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
components:
  responses:
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
    BadRequest:
      description: BadRequest / Invalid Input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
    NotFound:
      description: NotFound / Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorResponse'
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            type: object
            properties:
              title:
                description: A short, human-readable summary of the problem type
                type: string
              detail:
                description: A human-readable explanation specific to this occurrence of the problem
                type: string
              status:
                description: The HTTP status code generated for this occurrence of the problem
                type: integer
              data:
                description: Additional information about the error
                type: object
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
  parameters:
    page:
      in: query
      name: page
      description: '**Pagination**: Which page to query'
      schema:
        type: integer
        format: int64
        default: 1
    perPage:
      in: query
      name: perPage
      description: '**Pagination**: How many items per page'
      schema:
        type: integer
        format: int64
        default: 10
  headers:
    X-RateLimit-Limit:
      schema:
        type: integer
      description: Request limit per hour.
    X-RateLimit-Reset:
      schema:
        type: integer
      description: The UTC timestamp at which the current rate limit window resets
    X-RateLimit-Remaining:
      description: The number of requests left for the time window.
      schema:
        type: integer
  schemas:
    paginatedDepartment:
      description: An array of departments
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/department'
        totalResults:
          type: integer
          format: int64
        page:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int64
      required:
      - results
    departmentRequest:
      type: object
      description: Department to create
      properties:
        name:
          description: Name of the department
          type: string
          maxLength: 255
        code:
          description: External code of the department
          type: string
          maxLength: 255
        similarTo:
          description: Department is similar to
          type: string
          maxLength: 64
          enum:
          - financial_management
          - agronomy
          - architecture
          - audit_or_quality
          - attendance
          - sales
          - purchases
          - communication_or_design_or_marketing
          - accounting_or_controlling
          - engineering_or_maintenance_or_technical_services
          - legal
          - innovation_or_product
          - logistics
          - operations
          - project_or_processes
          - human_resources
          - security
          - technology
      required:
      - name
      - similarTo
    errorResponse:
      type: object
      properties:
        title:
          description: A short, human-readable summary of the problem type
          type: string
          maxLength: 255
        detail:
          description: A human-readable explanation specific to this occurrence of the problem
          type: string
          maxLength: 255
        status:
          description: The HTTP status code generated for this occurrence of the problem
          type: integer
          format: int32
    department:
      description: Company department
      properties:
        id:
          description: Department ID
          type: integer
          format: int64
        name:
          description: Name of the department
          type: string
          maxLength: 255
        code:
          description: External code of the department
          type: string
          maxLength: 255
        similarTo:
          description: Department is similar to
          type: string
          maxLength: 64
          enum:
          - financial_management
          - agronomy
          - architecture
          - audit_or_quality
          - attendance
          - sales
          - purchases
          - communication_or_design_or_marketing
          - accounting_or_controlling
          - engineering_or_maintenance_or_technical_services
          - legal
          - innovation_or_product
          - logistics
          - operations
          - project_or_processes
          - human_resources
          - security
          - technology
        createdAt:
          description: Department creation date
          type: string
          format: date-time
        updatedAt:
          description: Department update date
          type: string
          format: date-time
      required:
      - id
      - createdAt
      - updatedAt
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
x-provenance:
  method: searched
  source: https://developers.gupy.io/reference
  harvested: '2026-12-03'
  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://developers.gupy.io/reference/approvetalentrecommendation.md
  - https://developers.gupy.io/reference/canceljoboffer.md
  - https://developers.gupy.io/reference/closejobshandler.md
  - https://developers.gupy.io/reference/createapplication.md
  - https://developers.gupy.io/reference/createbranch.md
  - https://developers.gupy.io/reference/createclassifier.md
  - https://developers.gupy.io/reference/createcomment.md
  - https://developers.gupy.io/reference/createcompanyemployees.md
  - https://developers.gupy.io/reference/createdeparment.md
  - https://developers.gupy.io/reference/createdismissal.md
  - https://developers.gupy.io/reference/createinvite.md
  - https://developers.gupy.io/reference/createjob.md
  - https://developers.gupy.io/reference/createjoboffer.md
  - https://developers.gupy.io/reference/createmessage.md
  - https://developers.gupy.io/reference/createperformanceevaluation.md
  - https://developers.gupy.io/reference/createrole.md
  - https://developers.gupy.io/reference/createuser.md
  - https://developers.gupy.io/reference/createvacancy.md
  - https://developers.gupy.io/reference/createwebhook.md
  - https://developers.gupy.io/reference/deletebranchhandler.md
  - https://developers.gupy.io/reference/deletecompanyemployee.md
  - https://developers.gupy.io/reference/deletejobhandler.md
  - https://developers.gupy.io/reference/deletetag.md
  - https://developers.gupy.io/reference/deletetagbyname.md
  - https://developers.gupy.io/reference/deleteuser.md
  - https://developers.gupy.io/reference/deletevacancy.md
  - https://developers.gupy.io/reference/deletewebhook.md
  - https://developers.gupy.io/reference/findapplicationratingcriteria.md
  - https://developers.gupy.io/reference/findapplications.md
  - https://developers.gupy.io/reference/findapplicationtags.md
  - https://developers.gupy.io/reference/findcareerpages.md
  - https://developers.gupy.io/reference/findclassifiers.md
  - https://developers.gupy.io/reference/findcomments.md
  - https://developers.gupy.io/reference/findcompanycustomfields.md
  - https://developers.gupy.io/reference/findcompanyemployees.md
  - https://developers.gupy.io/reference/findcustomfields.md
  - https://developers.gupy.io/reference/findemailtemplates.md
  - https://developers.gupy.io/reference/findhiringinformation.md
  - https://developers.gupy.io/reference/findjobs.md
  - https://developers.gupy.io/reference/findsteps.md
  - https://developers.gupy.io/reference/findtemplatecustomfields.md
  - https://developers.gupy.io/reference/finduseraccessprofiles.md
  - https://developers.gupy.io/reference/findvacancies.md
  - https://developers.gupy.io/reference/findwebhooks.md
  - https://developers.gupy.io/reference/getbranches.md
  - https://developers.gupy.io/reference/getdepartments.md
  - https://developers.gupy.io/reference/getdismissals.md
  - https://developers.gupy.io/reference/getjoboffer.md
  - https://developers.gupy.io/reference/getperformanceevaluations.md
  - https://developers.gupy.io/reference/getroles.md
  - https://developers.gupy.io/reference/getusers.md
  - https://developers.gupy.io/reference/inviteuser.md
  - https://developers.gupy.io/reference/list.md
  - https://developers.gupy.io/reference/listjoboffers.md
  - https://developers.gupy.io/reference/patchapplication.md
  - https://developers.gupy.io/reference/rejecttalentrecommendation.md
  - https://developers.gupy.io/reference/sendjoboffer.md
  - https://developers.gupy.io/reference/tagapplication.md
  - https://developers.gupy.io/reference/updatebranch.md
  - https://developers.gupy.io/reference/updatecompanyemployee.md
  - https://developers.gupy.io/reference/updatedeparment.md
  - https://developers.gupy.io/reference/updatedismissal.md
  - https://developers.gupy.io/reference/updatehiringinformation.md
  - https://developers.gupy.io/reference/updatejob.md
  - https://developers.gupy.io/reference/updateperformanceevaluation.md
  - https://developers.gupy.io/reference/updaterole.md
  - https://developers.gupy.io/reference/updateuser.md
  - https://developers.gupy.io/reference/updatevacancy.md
  - https://developers.gupy.io/reference/updatewebhook.md
  merge:
    pages: 69
    deduped: 657
    conflicts_kept_first: 0