OrgX Deduplication API
Claim durable event fingerprints so duplicate triggers fire once
Claim durable event fingerprints so duplicate triggers fire once
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/useorgx-com:useorgx-com-deduplication-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: OrgX REST API v1 Deduplication API
version: '1'
description: 'Build accountable work into your product with OrgX REST API v1.
Create work with one field, attach evidence when it is complete, and keep the receipt. Every authenticated request is scoped to the workspace resolved from your credential.
Start with `POST /work`. Human guide: https://docs.useorgx.com/docs/api/quickstart'
contact:
name: OrgX Support
url: https://useorgx.com/support
email: support@useorgx.com
license:
name: Proprietary
url: https://useorgx.com/terms
servers:
- url: https://useorgx.com/api/v1
description: Production
tags:
- name: Deduplication
description: Claim durable event fingerprints so duplicate triggers fire once
paths:
/live/dedup/claim:
post:
operationId: claimDedupFingerprint
summary: Claim a duplicate-trigger fingerprint
description: 'Claim a durable fingerprint for an event so local and cloud triggers reacting to the same
signal fire once. The fingerprint derives from `source`, `event_key`, and the optional
`initiative_id`; the first claimant wins until the claim expires or is released. The store
fails closed — when it is unavailable the endpoint returns `503` rather than letting both
triggers proceed.'
tags:
- Deduplication
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/IdempotencyKeyOptional'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DedupClaimRequest'
example:
source: github-webhook
event_key: pr-2638-merged
ttl_seconds: 21600
responses:
'200':
description: Claim outcome — either you hold the fingerprint or another run already does
content:
application/json:
schema:
$ref: '#/components/schemas/DedupClaimResponse'
example:
ok: true
deduped: false
claimed: true
fingerprint_hash: 4f1c9a7e2b8d6c3a5e0f7b9d1c4a6e8f2b5d7c9a1e3f5b7d9c1a3e5f7b9d1c4a
active_run_id: 6e5d4c3b-2a1f-4e9d-8c7b-6a5f4e3d2c1b
expires_at: 2026-08-19 21:10:00+00:00
data:
auth_mode: api_key
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
schemas:
DedupClaimRequest:
type: object
required:
- source
- event_key
additionalProperties: true
properties:
source:
type: string
minLength: 1
maxLength: 120
description: The trigger family, for example a webhook or scheduler name.
event_key:
type: string
minLength: 1
maxLength: 500
description: The stable identity of the event within its source.
initiative_id:
type: string
format: uuid
description: Optional scope; claims default to organization scope without it.
ttl_seconds:
type: integer
minimum: 60
maximum: 1209600
description: Claim lifetime; defaults to six hours.
active_run_id:
type: string
format: uuid
description: The run asserting the claim; generated when omitted.
ApiError:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
details:
type: object
requestId:
type: string
timestamp:
type: string
format: date-time
docsUrl:
type: string
format: uri
retryAfter:
type: integer
description: Seconds until rate limit resets
DedupClaimResponse:
type: object
required:
- ok
- deduped
- claimed
- fingerprint_hash
additionalProperties: true
properties:
ok:
type: boolean
deduped:
type: boolean
description: True when another run already holds the fingerprint.
claimed:
type: boolean
description: True when this request took or extended the claim.
fingerprint_hash:
type: string
description: The derived fingerprint identity.
active_run_id:
type:
- string
- 'null'
format: uuid
description: The run holding the claim.
expires_at:
type:
- string
- 'null'
format: date-time
data:
type: object
additionalProperties: true
parameters:
IdempotencyKeyOptional:
name: Idempotency-Key
in: header
required: false
schema:
type: string
minLength: 1
maxLength: 200
pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,199}$
description: Accepted for forward compatibility. Replay safety for this operation comes from its own state checks, described on the operation.
responses:
Unauthorized:
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
BadRequest:
description: Request validation failed
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
ServiceUnavailable:
description: Ledger or workspace authorization is unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'OrgX API key, sent as `Authorization: Bearer oxk_...`'
cookieAuth:
type: apiKey
in: cookie
name: __session
description: Session cookie from web authentication
stripeSignature:
type: apiKey
in: header
name: stripe-signature
description: Stripe webhook signature
externalDocs:
description: Human-readable OrgX REST API v1 reference
url: https://docs.useorgx.com/docs/api/public-api