Uptimeify Agent Claim API
The Agent Claim API from Uptimeify — 2 operation(s) for agent claim.
The Agent Claim API from Uptimeify — 2 operation(s) for agent claim.
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/uptimeify-io:uptimeify-io-agent-claim-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: Uptimeify REST Agent Claim API
version: 1.0.0
description: 'Public REST API for Uptimeify website, DNS, TLS and email monitoring. Authenticate with a Bearer API token (Authorization: Bearer wsm_...). Human docs: https://docs.uptimeify.io/api. Generated from the live route handlers, the docs-site and the maintained API collection.'
contact:
name: Uptimeify
url: https://uptimeify.io
servers:
- url: https://uptimeify.io
security:
- bearerAuth: []
tags:
- name: Agent Claim
paths:
/api/agent-claim/confirm:
post:
operationId: postApiAgentClaimConfirm
summary: POST /api/agent-claim/confirm
tags:
- Agent Claim
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
const: true
registration_id:
type: string
required:
- ok
- registration_id
'400':
description: 'Invalid or missing parameters: `invalidRequestBody` with `data.issues`, or a field-specific code.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, invalid or expired API token (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Authenticated, but the role, the customer binding or the scopes of the token do not allow this call (e.g. `forbidden`, `customerScopedTokenForbidden`, `apiTokenScopeForbidden`). See https://docs.uptimeify.io/api/introduction/permissions-by-endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
user_code:
type: string
minLength: 1
description: The code the agent showed; case and separators are ignored.
write_scopes:
description: Write scopes the person ticked; only those the agent requested are granted.
type: array
items:
type: string
required:
- user_code
/api/agent-claim/context:
get:
operationId: getApiAgentClaimContext
summary: GET /api/agent-claim/context
tags:
- Agent Claim
parameters:
- name: claim_attempt
in: query
required: true
description: The claim link token the agent handed out.
schema:
type: string
minLength: 1
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
registration_id:
type: string
agent_type:
type: string
scope:
type: string
description: Read scopes, space-separated.
requested_scope:
type: string
write_scopes:
type: array
items:
type: string
description: Write scopes the agent asked for; granted only when ticked on confirm.
provider:
description: Host of the agent's identity provider.
type:
- string
- 'null'
bound_email:
type: string
user_code:
type:
- string
- 'null'
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
required:
- registration_id
- agent_type
- scope
- requested_scope
- write_scopes
- provider
- bound_email
- user_code
- expires_at
description: Only for the signed-in user the claim is bound to; everyone else gets 404 invalidClaimToken.
'400':
description: 'Invalid or missing parameters: `invalidRequestBody` with `data.issues`, or a field-specific code.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, invalid or expired API token (`unauthorized`).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Authenticated, but the role, the customer binding or the scopes of the token do not allow this call (e.g. `forbidden`, `customerScopedTokenForbidden`, `apiTokenScopeForbidden`). See https://docs.uptimeify.io/api/introduction/permissions-by-endpoint.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
description: Error envelope returned for every non-2xx response. Branch on `data.code`, a stable camelCase code listed at https://docs.uptimeify.io/api/error-codes-and-known-pitfalls; `statusMessage` is an English explanation that says what to change and may be reworded.
properties:
error:
type: boolean
const: true
description: Always true on an error response.
url:
type: string
description: The request URL that failed.
statusCode:
type: integer
description: HTTP status code, repeated in the body.
statusMessage:
type: string
description: 'Actionable English reason, safe to show to a user. Not a contract: branch on data.code.'
message:
type: string
description: Same as statusMessage; kept for client compatibility.
data:
type: object
description: Carries the stable `code`, the `requestId` of the call and, depending on the error, more context.
properties:
code:
type: string
description: Stable machine-readable error code. Never renamed; a replacement is announced with a deprecation window.
requestId:
type: string
description: Id of this request (also the X-Request-ID response header). Quote it when reporting a problem.
issues:
type: array
description: Validation problems (`invalidRequestBody`), one per field, without the submitted values.
items:
type: object
properties:
path:
type: string
message:
type: string
retryAfter:
type: integer
description: Seconds to wait before retrying (429 only).
required:
- error
- statusCode
- statusMessage
- message
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Uptimeify API token, e.g. "Authorization: Bearer wsm_...".'