SignOps Users and DPDP API

The Users and DPDP API from SignOps — 3 operation(s) for users and dpdp.

GitHub OpenAPI

Operations 4

DELETE /v1/users/{user_id} Erase a user #
GET /v1/users/{user_id}/export Export a user #
POST /v1/users/{user_id}/consent Record consent #
GET /v1/users/{user_id}/consent Get consent #

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-users-and-dpdp-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-users-and-dpdp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SignOps Users and DPDP 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: Users and DPDP
paths:
  /v1/users/{user_id}:
    delete:
      operationId: deleteUsersByUserId
      summary: Erase a user
      description: Removes everything held under the id in one transaction. 404 when nothing is held.
      tags:
      - Users and DPDP
      security:
      - secretKey: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          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
                  deleted:
                    type: boolean
                    description: 'true'
                  removed:
                    type: object
                    properties: {}
                    description: Counts of what was removed.
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/users/{user_id}/export:
    get:
      operationId: getUsersByUserIdExport
      summary: Export a user
      description: Devices, topics, passkeys, authenticator status, approvals of the last 90 days, consent history and pushes, as one JSON document.
      tags:
      - Users and DPDP
      security:
      - secretKey: []
      parameters:
      - name: user_id
        in: path
        required: true
        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/users/{user_id}/consent:
    post:
      operationId: postUsersByUserIdConsent
      summary: Record consent
      tags:
      - Users and DPDP
      security:
      - secretKey: []
      parameters:
      - name: user_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
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                purpose:
                  type: string
                  description: 'Your own word: lowercase letters, digits and underscores, like marketing_push.'
                granted:
                  type: boolean
                  description: Yes or no.
                source:
                  type: string
                  description: Where it was given, like signup_form.
                text:
                  type: string
                  description: The words the user agreed to.
              required:
              - purpose
              - granted
      responses:
        '200':
          description: OK
          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
                  purpose:
                    type: string
                    description: Purpose.
                  granted:
                    type: boolean
                    description: Answer.
                  source:
                    type: string
                    description: Source.
                  at:
                    type: string
                    description: ISO 8601 time.
                    format: date-time
        4XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      operationId: getUsersByUserIdConsent
      summary: Get consent
      tags:
      - Users and DPDP
      security:
      - secretKey: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          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
                  current:
                    type: object
                    properties: {}
                    description: Latest answer per purpose.
                  history:
                    type: array
                    items:
                      type: object
                      properties:
                        purpose:
                          type: string
                          description: Purpose.
                        granted:
                          type: boolean
                          description: Answer.
                        source:
                          type: string
                          description: Source.
                        text:
                          type: string
                          description: Text.
                        at:
                          type: string
                          description: ISO 8601 time.
                          format: date-time
                    description: Every record, in order.
        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/