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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/printhiv3d-com:printhiv3d-com-oauth-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
openapi: 3.2.0
info:
title: Print Hive API Documentation OAuth API
description: 'REST API for the Print Hive print farm management platform: printers, print jobs, models, materials, inventory, smart queue, and integrations.'
version: 1.0.0
servers:
- url: https://api.printhiv3d.com
description: Production
tags:
- name: OAuth
description: OAuth 2.0 endpoints
paths:
/v1/oauth/session-handoff:
post:
tags:
- OAuth
description: Create a one-time OAuth consent handoff from an authenticated user session
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- clientId
- redirectUri
- scopes
properties:
clientId:
type: string
minLength: 1
maxLength: 200
redirectUri:
type: string
minLength: 1
maxLength: 2048
scopes:
type: array
minItems: 1
maxItems: 22
uniqueItems: true
items:
type: string
enum:
- webhooks:read
- webhooks:write
- printers:read
- printers:write
- jobs:read
- jobs:write
- telemetry:read
- models:read
- models:write
- files:read
- files:write
- print-jobs:read
- print-jobs:write
- inventory:read
- inventory:write
- makes:read
- makes:write
- fleet:read
- fleet:write
- host:pair
- print:launch
- user:preferences
codeChallenge:
type: string
minLength: 43
maxLength: 128
resource:
type: string
maxLength: 2048
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
handoff:
type: string
expires_in:
type: number
'401':
description: Default Response
content:
application/json:
schema:
type: object
properties:
error:
type: string
summary: Create oauth session handoff
x-summary-source: derived
operationId: postV1OauthSessionHandoff
x-operation-id-source: derived
/.well-known/oauth-protected-resource:
get:
tags:
- OAuth
description: OAuth 2.0 Protected Resource Metadata
x-public: true
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
resource:
type: string
resource_name:
type: string
resource_logo_uri:
type: string
authorization_servers:
type: array
items:
type: string
bearer_methods_supported:
type: array
items:
type: string
resource_signing_alg_values_supported:
type: array
items:
type: string
scopes_supported:
type: array
items:
type: string
scope:
type: string
resource_documentation:
type: string
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Get well known oauth protected resource
x-summary-source: derived
operationId: getWellKnownOauthProtectedResource
x-operation-id-source: derived
/.well-known/oauth-authorization-server:
get:
tags:
- OAuth
description: OAuth 2.0 Authorization Server Metadata (RFC 8414)
x-public: true
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
resource:
type: string
authorization_servers:
type: array
items:
type: string
bearer_methods_supported:
type: array
items:
type: string
issuer:
type: string
authorization_endpoint:
type: string
token_endpoint:
type: string
revocation_endpoint:
type: string
response_types_supported:
type: array
items:
type: string
grant_types_supported:
type: array
items:
type: string
code_challenge_methods_supported:
type: array
items:
type: string
token_endpoint_auth_methods_supported:
type: array
items:
type: string
scopes_supported:
type: array
items:
type: string
scope:
type: string
registration_endpoint:
type: string
service_documentation:
type: string
agent_auth:
type: object
additionalProperties: true
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Get well known oauth authorization server
x-summary-source: derived
operationId: getWellKnownOauthAuthorizationServer
x-operation-id-source: derived
/v1/oauth/authorize:
get:
tags:
- OAuth
description: OAuth 2.0 Authorization Endpoint with PKCE
parameters:
- schema:
type: string
enum:
- code
in: query
name: response_type
required: true
- schema:
type: string
in: query
name: client_id
required: true
- schema:
type: string
in: query
name: redirect_uri
required: true
- schema:
type: string
in: query
name: scope
required: false
- schema:
type: string
in: query
name: state
required: false
- schema:
type: string
in: query
name: code_challenge
required: false
- schema:
type: string
enum:
- S256
in: query
name: code_challenge_method
required: false
- schema:
type: string
in: query
name: resource
required: false
- schema:
type: string
in: query
name: handoff
required: false
- schema:
type: string
in: query
name: organization_id
required: false
- schema:
type: string
enum:
- deny
in: query
name: decision
required: false
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Get oauth authorize
x-summary-source: derived
operationId: getV1OauthAuthorize
x-operation-id-source: derived
/v1/oauth/token:
post:
tags:
- OAuth
description: OAuth 2.0 Token Endpoint
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- grant_type
properties:
grant_type:
type: string
enum:
- authorization_code
- refresh_token
- urn:ietf:params:oauth:grant-type:jwt-bearer
- urn:workos:agent-auth:grant-type:claim
code:
type: string
redirect_uri:
type: string
client_id:
type: string
client_secret:
type: string
code_verifier:
type: string
resource:
type: string
refresh_token:
type: string
claim_token:
type: string
assertion:
type: string
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
access_token:
type: string
refresh_token:
type: string
token_type:
type: string
expires_in:
type: number
scope:
type: string
identity_assertion:
type: string
assertion_expires:
type: string
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Create oauth token
x-summary-source: derived
operationId: postV1OauthToken
x-operation-id-source: derived
/v1/oauth/register:
post:
tags:
- OAuth
description: OAuth 2.0 Dynamic Client Registration (RFC 7591)
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- redirect_uris
additionalProperties: false
properties:
client_name:
type: string
minLength: 1
maxLength: 200
redirect_uris:
type: array
minItems: 1
maxItems: 10
uniqueItems: true
items:
type: string
minLength: 1
maxLength: 2048
grant_types:
type: array
maxItems: 2
uniqueItems: true
items:
type: string
enum:
- authorization_code
- refresh_token
response_types:
type: array
maxItems: 1
uniqueItems: true
items:
type: string
enum:
- code
token_endpoint_auth_method:
type: string
enum:
- none
- client_secret_post
scope:
type: string
maxLength: 1000
client_uri:
type: string
maxLength: 2048
logo_uri:
type: string
maxLength: 2048
x-public: true
responses:
'201':
description: Default Response
content:
application/json:
schema:
type: object
properties:
client_id:
type: string
client_secret:
type: string
client_name:
type: string
redirect_uris:
type: array
items:
type: string
grant_types:
type: array
items:
type: string
response_types:
type: array
items:
type: string
token_endpoint_auth_method:
type: string
scope:
type: string
client_id_issued_at:
type: number
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Create oauth register
x-summary-source: derived
operationId: postV1OauthRegister
x-operation-id-source: derived
/v1/oauth/revoke:
post:
tags:
- OAuth
description: OAuth 2.0 Token Revocation
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- token
properties:
token:
type: string
token_type_hint:
type: string
enum:
- access_token
- refresh_token
client_id:
type: string
client_secret:
type: string
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
summary: Create oauth revoke
x-summary-source: derived
operationId: postV1OauthRevoke
x-operation-id-source: derived
/v1/v1/shippo/oauth/authorize:
get:
summary: Initiate Shippo OAuth
tags:
- OAuth
description: Redirect user to Shippo OAuth authorization page
parameters:
- schema:
type: string
in: query
name: redirect_uri
required: false
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1V1ShippoOauthAuthorize
x-operation-id-source: derived
/v1/v1/shippo/oauth/callback:
get:
summary: OAuth callback
tags:
- OAuth
description: Handle OAuth callback from Shippo
parameters:
- schema:
type: string
in: query
name: code
required: false
- schema:
type: string
in: query
name: state
required: false
- schema:
type: string
in: query
name: error
required: false
- schema:
type: string
in: query
name: error_description
required: false
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1V1ShippoOauthCallback
x-operation-id-source: derived
/v1/v1/shippo/oauth/status:
get:
summary: Check OAuth status
tags:
- OAuth
description: Check if Shippo is connected for the organization
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
properties:
connected:
type: boolean
account_id:
type: string
'500':
description: Internal server error
content:
application/json:
schema:
type: object
description: Internal server error
operationId: getV1V1ShippoOauthStatus
x-operation-id-source: derived
/v1/v1/shippo/oauth/disconnect:
delete:
summary: Disconnect Shippo
tags:
- OAuth
description: Remove Shippo integration for the organization
responses:
'204':
description: Disconnected successfully
'500':
description: Internal server error
content:
application/json:
schema:
type: object
description: Internal server error
operationId: deleteV1V1ShippoOauthDisconnect
x-operation-id-source: derived
components:
schemas:
Error:
type: object
description: 'Consistent Print Hive API error body: a machine-readable error code and a human-readable message.'
properties:
error:
type: string
description: Machine-readable error code.
message:
type: string
description: Human-readable explanation of the failure.
required:
- error
- message
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
apiKeyAuth:
type: apiKey
in: header
name: x-api-key
apiKey:
type: apiKey
in: header
name: x-api-key