SignOps Approve API

The Approve API from SignOps — 5 operation(s) for approve.

GitHub OpenAPI

Operations 5

POST /v1/approve/enroll-token Make an enrol token #
POST /v1/approve Ask the user's trusted phone to approve #
GET /v1/approve/{id} Get an approval #
POST /v1/approve/{id}/cancel Cancel a pending approval #
POST /v1/approve/devices/{id}/remove Stop trusting a phone #

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-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-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SignOps Approve 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
paths:
  /v1/approve/enroll-token:
    post:
      operationId: postApproveEnrollToken
      summary: Make an enrol token
      description: After your own login, make this token and pass it to the SDK in your app, which enrols the phone as trusted. Valid 10 minutes.
      tags:
      - Approve
      security:
      - secretKey: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: The same key within 24 hours returns the first result instead of acting twice.
        schema:
          type: string
          maxLength: 128
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                user_id:
                  type: string
                  description: Your own id for the user, up to 128 characters without spaces.
                  maxLength: 128
              required:
              - user_id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/approve:
    post:
      operationId: postApprove
      summary: Ask the user's trusted phone to approve
      description: Show the returned match number on the screen asking. Pending until the user answers or 2 minutes pass; expired requests are not billed.
      tags:
      - Approve
      security:
      - secretKey: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: The same key within 24 hours returns the first result instead of acting twice.
        schema:
          type: string
          maxLength: 128
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                user_id:
                  type: string
                  description: Your own id for the user, up to 128 characters without spaces.
                  maxLength: 128
                context:
                  type: string
                  description: What is being approved, shown on the phone, like Sign in from Chrome on Windows.
                ip:
                  type: string
                  description: The user's IP address, for the per-IP limit and risk signals.
                city:
                  type: string
                  description: Shown on the phone.
                browser:
                  type: string
                  description: Shown on the phone.
              required:
              - user_id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Approval id.
                  status:
                    type: string
                    description: pending
                  match:
                    type: string
                    description: The number to show on your page.
                  user_id:
                    type: string
                    description: Your own id for the user, up to 128 characters without spaces.
                    maxLength: 128
                  expires_at:
                    type: string
                    description: ISO 8601 time.
                    format: date-time
                  devices:
                    type: integer
                    description: Trusted devices asked.
        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}:
    get:
      operationId: getApproveById
      summary: Get an approval
      tags:
      - Approve
      security:
      - secretKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: wait
        in: query
        required: false
        schema:
          type: integer
          description: Seconds to hold the connection until the status changes, up to 120.
          minimum: 0
          maximum: 120
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Approval'
        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}/cancel:
    post:
      operationId: postApproveByIdCancel
      summary: Cancel a pending approval
      tags:
      - Approve
      security:
      - secretKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: The same key within 24 hours returns the first result instead of acting twice.
        schema:
          type: string
          maxLength: 128
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Approval'
        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/{id}/remove:
    post:
      operationId: postApproveDevicesByIdRemove
      summary: Stop trusting a phone
      tags:
      - Approve
      security:
      - secretKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: The same key within 24 hours returns the first result instead of acting twice.
        schema:
          type: string
          maxLength: 128
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Device id.
                  trusted:
                    type: boolean
                    description: 'false'
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Approval:
      type: object
      properties:
        id:
          type: string
          description: Approval id.
        user_id:
          type: string
          description: Your own id for the user, up to 128 characters without spaces.
          maxLength: 128
        context:
          type: string
          description: What was asked.
        status:
          type: string
          description: pending, approved, denied, expired or cancelled.
        device_id:
          type: string
          description: The device that answered.
        created_at:
          type: string
          description: ISO 8601 time.
          format: date-time
        expires_at:
          type: string
          description: ISO 8601 time.
          format: date-time
        answered_at:
          type: string
          description: ISO 8601 time.
          format: date-time
    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
    Token:
      type: object
      properties:
        token:
          type: string
          description: Single-use token.
        expires_at:
          type: string
          description: ISO 8601 time.
          format: date-time
  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/