Nopaque Limited Anchors API

Identity anchoring. A workspace proves one real phone number by SMS one-time code, so every call it later places is attributable to a human who proved possession of that number. Accountability is decoupled from payment: anchoring gates whether a workspace exists as a real party, billing gates how much it can do.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

GET /anchors How many people are accountable for this workspace, and when each verified #
POST /anchors/request-code Send an SMS one-time code to the number being anchored #
POST /anchors/verify-code Verify the SMS code and anchor the number to the workspace #
POST /anchors/release Release one anchor, against another the workspace already holds #

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/nopaque-co-uk:nopaque-co-uk-anchors-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

nopaque-co-uk-anchors-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nopaque Co Uk Anchors API
  version: 0.3.0
  contact:
    name: Nopaque support
    email: support@nopaque.co.uk
    url: https://www.nopaque.co.uk/docs
  license:
    name: Proprietary
    url: https://www.nopaque.co.uk/terms
  termsOfService: https://www.nopaque.co.uk/terms
  description: 'Operations tagged Anchors across 2 of this provider''s published API definitions: nopaque-co-uk-openapi.json, nopaque-co-uk-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.nopaque.co.uk
  description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

    header on every request. Workspace-scoped operations are isolated to the workspace the API

    key was created in.

    '
- url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
  description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

    `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

    sign-in. NOTE: this gateway does NOT have a custom domain today.

    '
tags:
- name: Anchors
  description: 'Identity anchoring. A workspace proves one real phone number by SMS one-time code, so every

    call it later places is attributable to a human who proved possession of that number.

    Accountability is decoupled from payment: anchoring gates whether a workspace exists as a

    real party, billing gates how much it can do.'
paths:
  /anchors:
    get:
      operationId: listAnchors
      summary: How many people are accountable for this workspace, and when each verified
      description: 'Returns one entry per anchor the workspace currently holds, plus the ceiling on how

        many it may hold at once.


        DELIBERATELY WITHOUT IDENTITY. No phone number and no hash is returned. Numbers are

        stored only as an HMAC, and the plaintext kept for abuse investigation is not read

        here — surfacing it would widen what that retention is for. The HMAC is not returned

        either: it is a stable identifier for one person''s phone across every workspace they

        anchor, so it would be a correlation key in a browser, and nothing needs it, because

        `releaseAnchor` names a number rather than a hash.


        A workspace with no anchors returns an empty list, not a 404.


        Both gateways: `x-api-key: nq_...` for an agent, or a Cognito bearer token for a

        person in workspace settings.'
      tags:
      - Anchors
      security:
      - apiKey: []
      - cognitoBearer: []
      responses:
        '200':
          description: The anchors this workspace holds.
          content:
            application/json:
              schema:
                type: object
                required:
                - anchors
                - maxAnchors
                properties:
                  anchors:
                    type: array
                    items:
                      type: object
                      properties:
                        anchoredAt:
                          type: string
                          format: date-time
                          description: When this number was verified for this workspace.
                  maxAnchors:
                    type: integer
                    description: 'How many anchors one workspace may hold at once. Sent so the ceiling has

                      a single home rather than being duplicated in every client.

                      '
                    example: 5
        '401':
          description: Missing or invalid credential, or it did not resolve to a workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorError'
        '403':
          description: The key does not carry the `anchors:write` scope.
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
  /anchors/request-code:
    post:
      operationId: requestAnchorCode
      summary: Send an SMS one-time code to the number being anchored
      description: 'Sends a verification code by SMS to `phoneNumber` and records the number against the

        workspace. The workspace is taken from the API key, never from the body — a body-supplied

        workspace would let any key anchor another workspace to a number the caller controls,

        which defeats attribution entirely.


        Rate limited per workspace per hour AND for the lifetime of the workspace, because every

        call sends a real SMS to a real person. A refused request sends nothing. A workspace that

        already anchors a number is refused outright: it has no further use for codes, and

        changing the anchored number means releasing the old one first.


        api-key gateway — use `x-api-key: nq_...` against `api.nopaque.co.uk` (prod) or

        `api.dev.nopaque.co.uk` (dev). Requires the `anchors:write` scope, or a key with no

        scopes at all, which means unrestricted.'
      tags:
      - Anchors
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnchorRequestCodeRequest'
      responses:
        '202':
          description: Code sent. The response deliberately carries no number and no code.
          content:
            application/json:
              schema:
                type: object
                required:
                - sent
                properties:
                  sent:
                    type: boolean
                    const: true
        '400':
          description: '`phoneNumber` missing (`error`), or not a number this platform will anchor (`reason`).

            '
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/AnchorRefusal'
                - $ref: '#/components/schemas/AnchorError'
        '401':
          description: Missing or invalid API key, or the key did not resolve to a workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorError'
        '403':
          description: 'The key does not carry the `anchors:write` scope, or this workspace has exhausted its

            LIFETIME allowance of verification codes, or `reason: anchor_limit_reached` — it

            already holds the maximum number of verified humans. None of the three lift with time.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorError'
        '409':
          description: '`reason: already_anchored` — the number is anchored to a different workspace. One

            number stands behind one workspace at a time; this is what makes the anchor mean

            anything.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorRefusal'
        '429':
          description: Too many verification codes requested for this workspace this hour.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorRateLimited'
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
  /anchors/verify-code:
    post:
      operationId: verifyAnchorCode
      summary: Verify the SMS code and anchor the number to the workspace
      description: 'Checks the code and, on success, permanently records the number as this workspace''s

        identity anchor. The number itself is stored only as an HMAC.


        On the first anchor of a number that has never earned one, this route also asks the

        auth service (which owns the balance) to grant the workspace its free capacity, and

        reports what happened in `freeGrantOutcome`. The anchor succeeds whether or not the

        grant does: `anchored: true` with `freeGrantOutcome: unavailable` means the code was

        right and the grant must be retried, never that the code was wrong.


        A provider outage surfaces as a 5xx, never as "your code was wrong".


        api-key gateway — use `x-api-key: nq_...` against `api.nopaque.co.uk` (prod) or

        `api.dev.nopaque.co.uk` (dev). Requires the `anchors:write` scope, or a key with no

        scopes at all, which means unrestricted.'
      tags:
      - Anchors
      security:
      - apiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnchorVerifyCodeRequest'
      responses:
        '200':
          description: The number is now this workspace's anchor.
          content:
            application/json:
              schema:
                type: object
                required:
                - anchored
                - freeGrantOwed
                - freeGranted
                - freeGrantOutcome
                properties:
                  anchored:
                    type: boolean
                    const: true
                  freeGrantOwed:
                    type: boolean
                    description: 'True when this anchor entitled the workspace to its free grant at the

                      moment of anchoring, i.e. the grant was asked for on this call. False

                      when the number had already spent its one allocation.

                      '
                  freeGranted:
                    type: boolean
                    description: Capacity was added to the workspace by THIS call.
                  freeGrantOutcome:
                    type: string
                    enum:
                    - granted
                    - already-granted
                    - refused
                    - unavailable
                    - not-owed
                    description: '`granted`: capacity added now. `already-granted`: the workspace already

                      held it from an earlier call; nothing is wrong. `not-owed`: this number

                      spent its one allocation before, on this workspace or another.

                      `refused`: auth declined (see `freeGrantError`). `unavailable`: auth

                      could not be reached or answered in time; the anchor stands, retry the

                      grant by verifying again.

                      '
                  freeGrantError:
                    type: string
                    description: 'Present only for `refused` (auth''s reason, e.g. `not-an-agent-workspace`)

                      and `unavailable` (the literal `unavailable`).

                      '
        '400':
          description: '`phoneNumber` or `code` missing (`error`); `reason: bad_code` when the code did not

            check out, or a number this platform will not anchor.

            '
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/AnchorRefusal'
                - $ref: '#/components/schemas/AnchorError'
        '401':
          description: Missing or invalid API key, or the key did not resolve to a workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorError'
        '403':
          description: The key does not carry the `anchors:write` scope.
        '409':
          description: '`reason: already_anchored` — the number is anchored to a different workspace.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorRefusal'
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
  /anchors/release:
    post:
      operationId: releaseAnchor
      summary: Release one anchor, against another the workspace already holds
      description: 'Frees the anchor on `phoneNumber` and keeps `replacedBy` as the workspace''s accountable

        human. Both numbers must ALREADY be anchored to this workspace; nobody proves possession

        here, because both humans already did, and no SMS is sent.


        `replacedBy` is required, and that is the design rather than an oversight. An anchor is

        released only by another one taking its place, so a workspace can never fall to zero

        anchors and be left with no accountable human for calls it is still placing. There is

        deliberately no standalone "free my number" operation. To hand over to someone NEW,

        call `verifyAnchorCode` with its `replaces` field instead: that verifies the incoming

        human and frees the outgoing anchor in a single atomic step.


        The release keeps the anchor record. The binding becomes historical, so past calls stay

        attributable, and the number''s one free capacity allocation is NOT restored — releasing

        an anchor restores the ability to anchor, nothing else.


        Both gateways: `x-api-key: nq_...` for an agent, or a Cognito bearer token for a person

        acting from workspace settings. The api-key form requires the `anchors:write` scope, or

        a key with no scopes at all, which means unrestricted.'
      tags:
      - Anchors
      security:
      - apiKey: []
      - cognitoBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnchorReleaseRequest'
      responses:
        '200':
          description: Released. The response deliberately carries no number.
          content:
            application/json:
              schema:
                type: object
                required:
                - released
                properties:
                  released:
                    type: boolean
                    const: true
        '400':
          description: '`phoneNumber` or `replacedBy` missing (`error`), `reason: replaces_unparseable` — the

            number being released could not be resolved, or `reason: survivor_is_target` — the

            two numbers are the same, which would empty the workspace.

            '
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/AnchorRefusal'
                - $ref: '#/components/schemas/AnchorError'
        '401':
          description: Missing or invalid credential, or it did not resolve to a workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorError'
        '403':
          description: The key does not carry the `anchors:write` scope.
        '409':
          description: '`reason: not_held` — this workspace does not currently hold one of the two anchors.

            A conflict rather than a 404, because saying which would tell a caller who has not

            proved possession of the number whether an anchor exists at all.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorRefusal'
    servers:
    - url: https://api.nopaque.co.uk
      description: 'Nopaque API gateway (production). Use the `apiKey` security scheme — set `x-api-key: <key>`

        header on every request. Workspace-scoped operations are isolated to the workspace the API

        key was created in.

        '
    - url: https://9mel8d5ehi.execute-api.eu-west-2.amazonaws.com
      description: 'Nopaque Auth gateway (production). Use the `cognitoBearer` security scheme — set

        `Authorization: Bearer <jwt>` header on every request. JWTs are issued by Cognito user pool

        sign-in. NOTE: this gateway does NOT have a custom domain today.

        '
components:
  schemas:
    AnchorRequestCodeRequest:
      type: object
      required:
      - phoneNumber
      properties:
        phoneNumber:
          type: string
          description: 'The number to anchor, in E.164. Must be a mobile in a supported country — the code

            arrives by SMS, so a landline cannot receive it.

            '
          example: '+447700900123'
      additionalProperties: false
    AnchorRefusal:
      type: object
      required:
      - reason
      properties:
        reason:
          type: string
          enum:
          - unparseable
          - not_a_mobile
          - country_not_supported
          - already_anchored
          - anchor_limit_reached
          - bad_code
          - replaces_unparseable
          - not_held
          - survivor_is_target
          description: 'Why the request was refused. `already_anchored` (someone else holds this number) is a

            409. `anchor_limit_reached` (this workspace already holds the maximum number of

            verified humans — one has to be replaced first) is a 403, because waiting does not

            lift it. Everything else is a 400.

            '
      additionalProperties: false
    AnchorError:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: 'A human-readable failure that is not one of the anchor `reason` codes — a missing

            field, or a credential that resolved no workspace.

            '
      additionalProperties: false
    AnchorReleaseRequest:
      type: object
      required:
      - phoneNumber
      - replacedBy
      properties:
        phoneNumber:
          type: string
          description: The anchored number to release, in E.164.
          example: '+447911123456'
        replacedBy:
          type: string
          description: 'Another number ALREADY anchored to this workspace, which stays as its accountable

            human. Required: an anchor is released only by another one taking its place.

            '
          example: '+447712345678'
      additionalProperties: false
    AnchorRateLimited:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        retryAfterSeconds:
          type: integer
      additionalProperties: false
    AnchorVerifyCodeRequest:
      type: object
      required:
      - phoneNumber
      - code
      properties:
        phoneNumber:
          type: string
          description: The same number the code was sent to, in E.164.
          example: '+447700900123'
        code:
          type: string
          description: The one-time code from the SMS.
          example: '123456'
        replaces:
          type: string
          description: 'Optional. An E.164 number ALREADY anchored to this workspace, whose anchor this

            verification replaces. The incoming number is anchored and the outgoing one released

            in a single atomic operation, so the workspace is never without an accountable

            human. This is the self-serve succession path: a colleague takes over from someone

            leaving, with no support ticket.

            '
          example: '+447911123456'
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Workspace-scoped API key. Create via `POST /workspaces/{workspaceId}/api-keys`

        (on the auth gateway). Rate-limited per workspace tier.

        '
    cognitoBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Cognito-issued JWT bearer token. Used by the first-party web app; not typically

        used by external integrators (use `apiKey` instead).

        '
x-refined-from:
- nopaque-co-uk-openapi.json
- nopaque-co-uk-openapi.json
x-provenance:
  method: harvested
  publisher: Nopaque Limited
  source: https://www.nopaque.co.uk/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)