SignOps Approve SDK API

The Approve SDK API from SignOps — 4 operation(s) for approve sdk.

GitHub OpenAPI

Operations 4

POST /v1/approve/devices/enroll SDK: enrol a device's public key #
POST /v1/approve/devices/push-token SDK: move to a new push token #
GET /v1/approve/pending SDK: requests waiting for this device #
POST /v1/approve/{id}/respond SDK: approve or deny #

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/signops:signops-approve-sdk-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

signops-approve-sdk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SignOps Approve SDK API
  version: 1.0.0
  description: 'Push notifications to Android, iOS and the web, login approval on a trusted phone, passkeys, authenticator codes and email OTP, on one API key and your own user ids. Errors are { error: { code, message } }. Test keys (sk_test_) send only to test devices and addresses and are not billed.'
  contact:
    email: hello@signops.dev
    url: https://signops.dev/docs/
  termsOfService: https://signops.dev/terms/
servers:
- url: https://api.signops.dev
security:
- secretKey: []
tags:
- name: Approve SDK
paths:
  /v1/approve/devices/enroll:
    post:
      operationId: postApproveDevicesEnroll
      summary: 'SDK: enrol a device''s public key'
      description: Called by the Android, iOS, React Native and Flutter SDKs with the enrol token. The private key stays in the Keystore or Secure Enclave.
      tags:
      - Approve SDK
      security:
      - publishableKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  description: The enrol token from your server.
                public_key:
                  type: string
                  description: P-256 public key, SPKI, base64url.
                platform:
                  type: string
                  description: android or ios.
                push_token:
                  type: string
                  description: The device's push token.
                name:
                  type: string
                  description: Device name.
              required:
              - token
              - public_key
              - platform
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/approve/devices/push-token:
    post:
      operationId: postApproveDevicesPushToken
      summary: 'SDK: move to a new push token'
      description: Signed by the device key.
      tags:
      - Approve SDK
      security:
      - publishableKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                device_id:
                  type: string
                  description: Device id.
                push_token:
                  type: string
                  description: New token.
                timestamp:
                  type: string
                  description: Signing time.
                signature:
                  type: string
                  description: Device signature.
              required:
              - device_id
              - push_token
              - timestamp
              - signature
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/approve/pending:
    get:
      operationId: getApprovePending
      summary: 'SDK: requests waiting for this device'
      description: Signed by the device key in the SignOps-Device, SignOps-Timestamp and SignOps-Signature headers.
      tags:
      - Approve SDK
      security:
      - publishableKey: []
      parameters:
      - name: SignOps-Device
        in: header
        required: true
        description: Device id.
        schema:
          type: string
      - name: SignOps-Timestamp
        in: header
        required: true
        description: Signing time.
        schema:
          type: string
      - name: SignOps-Signature
        in: header
        required: true
        description: Device signature.
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/approve/{id}/respond:
    post:
      operationId: postApproveByIdRespond
      summary: 'SDK: approve or deny'
      description: Signed by the device key after number matching and a biometric.
      tags:
      - Approve SDK
      security:
      - publishableKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                device_id:
                  type: string
                  description: Device id.
                decision:
                  type: string
                  description: approve or deny.
                  enum:
                  - approve
                  - deny
                picked:
                  type: string
                  description: The number the user picked.
                timestamp:
                  type: string
                  description: Signing time.
                signature:
                  type: string
                  description: Device signature.
              required:
              - device_id
              - decision
              - timestamp
              - signature
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable code, like invalid_request, rate_limited or expired.
            message:
              type: string
              description: Written for a developer to read.
          required:
          - code
          - message
      required:
      - error
  securitySchemes:
    secretKey:
      type: http
      scheme: bearer
      description: sk_live_... or sk_test_..., on your server only.
    publishableKey:
      type: http
      scheme: bearer
      description: pk_live_... or pk_test_..., used by the SDKs in apps and browsers.
externalDocs:
  description: Docs
  url: https://signops.dev/docs/