Gupy Custom Fields API

Custom fields of the admission form.

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 5

GET /position/custom-fields Get custom fields with pagination #
POST /position/custom-fields Create a new custom field #
PATCH /position/custom-fields Update a custom field already created #
DELETE /position/custom-fields Delete a custom field already created #
PATCH /position/custom-fields-data Update custom fields data #

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/gupy:gupy-custom-fields-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-custom-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GUPY ADMISSÃO Custom Fields API
  version: 1.0.0
  contact:
    name: Gupy Admissão
    url: https://www.gupy.io
  description: 'Authentication: send the token as `Authorization: Bearer `.


    Clients v2 (`public-api-{id}:{centralCompanyId}`), created in the Company Accounts Manager (CAM), get the token by the OAuth2 client credentials flow, using the client id and secret created for the Admission product.


    The token must carry roles of the `admission-api` resource: `public-api.admission.read.*` for GET routes, and `public-api.admission.write.*` for GET, POST, PATCH and DELETE routes.


    A token with an invalid client, issuer or company gets 401. A valid token without the required role gets 403.'
servers:
- url: https://admission.app.gupy.io/api/v1
tags:
- name: Custom Fields
  description: Custom fields of the admission form.
paths:
  /position/custom-fields:
    get:
      summary: Get custom fields with pagination
      tags:
      - Custom Fields
      operationId: searchCustomFields
      security:
      - jwt: []
      parameters:
      - in: query
        name: limit
        schema:
          type: number
        required: false
        description: 'max results per request (default: 10)'
      - in: query
        name: offset
        schema:
          type: string
        required: false
        description: offset
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        propertyId:
                          type: string
                        fieldType:
                          type: string
                        title:
                          type: string
                        options:
                          description: Here are the options to be selected when fieldtype is select
                          type: array
                          items:
                            type: string
                        isIntegrated:
                          type: boolean
                        isRequired:
                          type: boolean
                  totalResults:
                    type: number
                  page:
                    type: number
                  totalPages:
                    type: number
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      summary: Create a new custom field
      tags:
      - Custom Fields
      description: 'Create a new custom field. If fieldType is "select", "options" value needs to be sent. Also, it can not exist more than one location field of the same type, example: two fields of type cities, two fields of type states, two fields of type countries'
      operationId: createCustomField
      security:
      - jwt: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                title:
                  type: string
                  description: Title of the field
                  example: Local de trabalho
                fieldType:
                  type: string
                  description: 'Typeof field you want to create. If fieldtype is "select", options must be sent. Also, it is not possible to exist more than one location field of the same type (example: two fields of "cities" type)'
                  enum:
                  - text
                  - select
                  - number
                  - boolean
                  - date
                  - cities
                  - states
                  - countries
                  - customFieldFile
                  example: text
                options:
                  type: array
                  items:
                    type: string
                  description: Options to be selected when fieldType is "select"
                  example:
                  - P
                  - M
                  - G
                isRequired:
                  type: boolean
                  description: Decides whether the field is mandatory or not
                  example: false
                  default: false
                isIntegrated:
                  type: boolean
                  description: Decides whether the field should be integrated or not
                  example: true
                  default: false
              required:
              - title
              - fieldType
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: number
                  companyId:
                    type: number
                  jsonSchema:
                    type: object
                    properties:
                      type:
                        type: string
                      required:
                        type: array
                        items:
                          type: string
                        description: List of fields internal id that are mandatory to answer
                      properties:
                        type: object
                        properties:
                          field:
                            type: object
                            properties:
                              type:
                                type: string
                              title:
                                type: string
                              enum:
                                description: Here are the options to be selected when fieldtype is select
                                type: array
                                items:
                                  type: string
                              isIntegrated:
                                type: boolean
                              isDefault:
                                type: boolean
                  uiSchema:
                    type: object
                    properties:
                      field:
                        type: object
                        properties:
                          ui:field:
                            type: string
                            description: typeof field
                      ui:order:
                        type: array
                        items:
                          type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: 'One of the following errors may occur: [This field is not supported. Select one between those: text, select, number, boolean, date, cities, states, countries, Could not find a custom field with the passed propertyId, CustomFields json schema is not valid. Enum is more than 30000 items., Can''t exist select field with less than 1 option customFieldsId: ${id} companyId: {companyId}, Can''t exist more than 30000 options customFieldsId: ${id} companyId: ${companyId}, Can''t exist more than one location field of the same type customFieldsId: ${id} companyId: ${companyId}]'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    patch:
      summary: Update a custom field already created
      tags:
      - Custom Fields
      description: 'Update a custom field. If fieldtype is "select" and options is not sent, it will get its past options. Also, it can not exist more than one location field of the same type, example: two fields of type cities, two fields of type states, two fields of type countries'
      operationId: updateCustomField
      security:
      - jwt: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                title:
                  type: string
                  description: Title of the field
                  example: Local de trabalho
                fieldType:
                  type: string
                  description: 'Typeof field you want to edit into. If fieldtype is "select" and options is not sent, it will get its past options. Also, it is not possible to exist more than one location field of the same type (example: two fields of "cities" type)'
                  enum:
                  - text
                  - select
                  - number
                  - boolean
                  - date
                  - cities
                  - states
                  - countries
                  - customFieldFile
                  example: text
                options:
                  type: array
                  items:
                    type: string
                  description: Options to be selected when fieldType is "select"
                  example:
                  - P
                  - M
                  - G
                isRequired:
                  type: boolean
                  description: Decides whether the field is mandatory or not
                  example: false
                  default: false
                isIntegrated:
                  type: boolean
                  description: Decides whether the field should be integrated or not
                  example: true
                  default: false
                propertyId:
                  type: string
                  description: Internal property id
                  example: d50144bb-9cfc-4770-b8ae-da5c5c8ac036
              required:
              - propertyId
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                properties:
                  id:
                    type: number
                  companyId:
                    type: number
                  jsonSchema:
                    type: object
                    properties:
                      type:
                        type: string
                      required:
                        type: array
                        items:
                          type: string
                        description: List of fields internal id that are mandatory to answer
                      properties:
                        type: object
                        properties:
                          field:
                            type: object
                            properties:
                              type:
                                type: string
                              title:
                                type: string
                              enum:
                                description: Here are the options to be selected when fieldtype is select
                                type: array
                                items:
                                  type: string
                              isIntegrated:
                                type: boolean
                              isDefault:
                                type: boolean
                  uiSchema:
                    type: object
                    properties:
                      field:
                        type: object
                        properties:
                          ui:field:
                            type: string
                            description: typeof field
                      ui:order:
                        type: array
                        items:
                          type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: 'One of the following errors may occur: [This field is not supported. Select one between those: text, select, number, boolean, date, cities, states, countries, Could not find a custom field with the passed propertyId, CustomFields json schema is not valid. Enum is more than 30000 items., Can''t exist select field with less than 1 option customFieldsId: ${id} companyId: {companyId}, Can''t exist more than 30000 options customFieldsId: ${id} companyId: ${companyId}, Can''t exist more than one location field of the same type customFieldsId: ${id} companyId: ${companyId}]'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    delete:
      summary: Delete a custom field already created
      tags:
      - Custom Fields
      description: Delete a custom field. If its field is integrated or default, it can not be deleted
      operationId: deleteCustomField
      security:
      - jwt: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                propertyId:
                  type: string
                  description: Internal property id
                  example: d50144bb-9cfc-4770-b8ae-da5c5c8ac036
              required:
              - propertyId
      responses:
        '204':
          description: Successful operation
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Can't delete field that does not exists
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /position/custom-fields-data:
    patch:
      summary: Update custom fields data
      tags:
      - Custom Fields
      description: Update custom fields data by pre employee id. *Important!* You must submit the data for ALL custom fields, not just those that have been updated; otherwise, data may be LOST.
      operationId: updateCustomFieldsData
      security:
      - jwt: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                preEmployeeId:
                  type: number
                customFields:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Custom field id
                      value:
                        description: Value from the type of custom field
                    required:
                    - id
                    - value
                  description: Custom field data creation or update
              required:
              - preEmployeeId
              - customFields
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                properties:
                  customFields:
                    type: object
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Custom Fields validation failed message
                    example: 'Custom Fields validation failed: 2 error(s) found'
                  details:
                    type: array
                    description: List of validation errors
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: Field identifier that failed validation
                          example: empresa
                        message:
                          type: string
                          description: Validation error message
                          example: must have required property 'empresa'
                        allowedValues:
                          type: array
                          description: List of allowed values (only present for enum validation errors)
                          items:
                            type: string
                          example:
                          - 123 - info
                      required:
                      - message
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  responses:
    Forbidden:
      description: Token without the role required by the route and verb
    Unauthorized:
      description: Invalid token, unknown client or company not found
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'JWT of a public API client. Client v2: token by client credentials in the CAM, with the roles `public-api.admission.read.*` (GET) or `public-api.admission.write.*` (GET, POST, PATCH, DELETE) in the `admission-api` resource; the automatic routing routes also accept `public-api.admission.write.automatic-routing`.'
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/changepreemployeestep.md
  - https://developers.gupy.io/reference/createcontract.md
  - https://developers.gupy.io/reference/createcustomfield.md
  - https://developers.gupy.io/reference/createpreemployee.md
  - https://developers.gupy.io/reference/createtoken.md
  - https://developers.gupy.io/reference/deletecustomfield.md
  - https://developers.gupy.io/reference/listworkflowsteps.md
  - https://developers.gupy.io/reference/patchautomaticroutingobjection.md
  - https://developers.gupy.io/reference/patchautomaticroutingprocess.md
  - https://developers.gupy.io/reference/patchpositionworkshift.md
  - https://developers.gupy.io/reference/patchtransportvoucherautomaticrouting.md
  - https://developers.gupy.io/reference/searchcustomfields.md
  - https://developers.gupy.io/reference/searchpreemployees.md
  - https://developers.gupy.io/reference/startadmission.md
  - https://developers.gupy.io/reference/updatecustomfield.md
  - https://developers.gupy.io/reference/updatecustomfieldsdata.md
  merge:
    pages: 16
    deduped: 40
    conflicts_kept_first: 0