Oyster HR Authentication API

The Authentication API from Oyster HR — 1 operation(s) for authentication.

Operations 1

POST /oauth2/token Create or refresh an access token #

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/oyster-hr:oyster-hr-authentication-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

oyster-hr-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '0.1'
  title: Authentication API
  description: Oyster uses OAuth2 to enable customers to grant access to their data to third party applications. Customers also need to use this API to authenticate themselves when making API requests.
  license:
    name: MIT
servers:
- url: https://api.oysterhr.com
  description: OAuth Server
tags:
- name: Authentication
paths:
  /oauth2/token:
    post:
      summary: Create or refresh an access token
      description: Creates or refreshes an OAuth access token.
      tags:
      - Authentication
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                client_id:
                  type: string
                  description: The client_id of your Developer App. This can be found by visting https://app.oysterhr.com/developer
                  example: 1234ABCD
                client_secret:
                  type: string
                  description: The secret of your Developer App.
                  example: 1234ABCD
                grant_type:
                  type: string
                  description: First you need to request an `authorization_code`. Afterwards you can request a `refresh_token`.
                  example: authorization_code
                code:
                  type: string
                  description: The code is required when requesting an `authorization_code`.
                  example: 1234ABCD
                redirect_uri:
                  type: string
                  description: The redirect_uri is required when requesting an `authorization_code`.
                  example: https://example.com/inbound
                refresh_token:
                  type: string
                  description: A `refresh_token` is required when requesting a `refresh_token`. A `refresh_token` will be provided when requesting an `authorization_code`
                  example: https://example.com/inbound
      responses:
        '201':
          description: Create an access token to make an API request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
      operationId: postOauth2Token
      x-operation-id-source: derived
components:
  schemas:
    Token:
      type: object
      properties:
        access_token:
          type: string
          example: 1234ABCD
        token_type:
          type: string
          example: Bearer
        expires_in:
          type: number
          example: 7200
        refresh_token:
          type: string
          example: 1234ABCD
        scope:
          type: string
          example: read
        created_at:
          type: number
          example: 167474949830
x-provenance:
  method: searched
  source: https://docs.oysterhr.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://docs.oysterhr.com/reference/post_oauth2-token-1.md
  merge:
    pages: 1
    deduped: 0
    conflicts_kept_first: 0