Gupy Positions API
Pre-employee position data.
Pre-employee position data.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/gupy:gupy-positions-api"
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.
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: 3.2.0
info:
title: GUPY ADMISSÃO Positions 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: Positions
description: Pre-employee position data.
paths:
/position/work-shift:
patch:
summary: Change the work shift of a pre-employee position
tags:
- Positions
description: 'Saves the given `shiftCode` on the pre-employee position. The code is stored normalized (trimmed and upper case). The route is idempotent: sending the same code again returns 200 with a consistent result. Not allowed when the pre-employee is in `ADMISSION_CONCLUDED` or `OUT_PROCESS`. The feature must be enabled for the company.'
operationId: patchPositionWorkShift
security:
- jwt: []
requestBody:
content:
application/json:
schema:
type: object
properties:
preEmployeeId:
type: integer
minimum: 1
description: Pre-employee id that owns the position
shiftCode:
type: string
minLength: 1
maxLength: 255
pattern: .*\S.*
description: Work shift code. Must contain at least one non-whitespace character. Stored normalized (trimmed and upper case)
required:
- preEmployeeId
- shiftCode
responses:
'200':
description: Work shift updated
content:
application/json:
schema:
type: object
properties:
result:
type: object
properties:
preEmployeeId:
type: integer
description: Pre-employee id that owns the position
shiftCode:
type: string
description: Stored work shift code (normalized)
shiftName:
type: string
description: Work shift name
updatedAt:
type: string
format: date-time
description: Position update timestamp in UTC-0
required:
- preEmployeeId
- shiftCode
- shiftName
- updatedAt
required:
- result
example:
result:
preEmployeeId: 1
shiftCode: D
shiftName: Afternoon
updatedAt: '2026-11-17T17:39:00.000Z'
'400':
description: 'Business error (`errors` with `code` and `message`: feature disabled or blocked pre-employee status) or invalid payload (`errors` with only `message`)'
content:
application/json:
schema:
type: object
properties:
errors:
type: array
description: Business errors carry `code` and `message`. Payload validation failures carry only `message`.
items:
oneOf:
- type: object
properties:
code:
type: string
enum:
- FEATURE_NOT_ENABLED
- SHIFT_CODE_EMPTY
- PRE_EMPLOYEE_STATUS_NOT_UPDATABLE
description: Stable business error code. Handle the error by `code`, not by `message`.
message:
type: string
description: Human-readable message of the business error. It may change over time.
required:
- code
- message
- type: object
properties:
message:
type: string
description: Validation failure, e.g. must be integer, must be string, must NOT have fewer than 1 characters, must NOT have more than 255 characters, must match pattern
required:
- message
required:
- errors
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: Pre-employee not found for the company, without a position, or work shift code does not exist
content:
application/json:
schema:
type: object
properties:
errors:
type: array
items:
type: object
properties:
code:
type: string
enum:
- WORK_SHIFT_NOT_FOUND
- PRE_EMPLOYEE_NOT_FOUND
- POSITION_NOT_FOUND
description: Stable business error code. Handle the error by `code`, not by `message`.
message:
type: string
description: Human-readable message of the business error. It may change over time.
required:
- code
- message
required:
- errors
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