userintuition-ai Public Webhooks API

The public-webhooks API from userintuition-ai, for public-webhooks.

GitHub OpenAPI

Operations 8

POST /api/public/v1/webhooks/ Create Webhook #
GET /api/public/v1/webhooks/ List Webhooks #
DELETE /api/public/v1/webhooks/ Delete Webhook #
GET /api/public/v1/webhooks/{webhook_id} Get Webhook #
DELETE /api/public/v1/webhooks/{webhook_id} Delete Webhook By Id #
GET /api/public/v1/webhooks/{webhook_id}/deliveries List Webhook Deliveries #
POST /api/public/v1/webhooks/{webhook_id}/test Test Webhook #
POST /api/public/v1/webhooks/{webhook_id}/rotate-secret Rotate Webhook Secret #

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/userintuition-ai:userintuition-ai-public-webhooks-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

userintuition-ai-public-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: User Intuition Public Public Webhooks API
  description: '## Public Integration API


    Programmatic access to User Intuition for external integrators: manage studies, participants, interviews, reports, and panels.


    ### Authentication


    All endpoints require a Bearer token — either an API key (prefixed `ui_sk_`, created in the dashboard) or a dashboard JWT:


    ```

    Authorization: Bearer

    ```


    ### Base URLs


    - **Production:** `https://api.userintuition.ai`

    - **Staging:** `https://staging.userintuition.ai`


    ### Support


    For API support, contact support@userintuition.ai'
  version: 1.0.0
  contact:
    name: User Intuition Support
    email: support@userintuition.ai
servers:
- url: https://api.userintuition.ai
  description: Production
- url: https://staging.userintuition.ai
  description: Staging
security:
- BearerAuth: []
tags:
- name: public-webhooks
paths:
  /api/public/v1/webhooks/:
    post:
      tags:
      - public-webhooks
      summary: Create Webhook
      operationId: createWebhook
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Idempotency-Key
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookCreate'
            examples:
              Completed-interview webhook:
                summary: Register an account-wide webhook
                description: The URL receives completed interviews for every study. Store the returned signing_secret; it is shown once.
                value:
                  hook_url: https://your-company.example/webhooks/user-intuition
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
      description: Register a signed event webhook. The signing secret appears only in the creation response.
    get:
      tags:
      - public-webhooks
      summary: List Webhooks
      operationId: listWebhooks
      parameters:
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookList'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
      description: List the account's registered event webhooks without signing secrets.
    delete:
      tags:
      - public-webhooks
      summary: Delete Webhook
      description: 'Deprecated: use DELETE /api/public/v1/webhooks/{webhook_id}. The body-based form remains available during migration.'
      operationId: deleteWebhook
      deprecated: true
      parameters:
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookDelete'
            examples:
              Delete by URL:
                summary: Unregister a webhook by URL
                description: Pass the exact hook_url used when the webhook was created.
                value:
                  hook_url: https://your-company.example/webhooks/user-intuition
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
  /api/public/v1/webhooks/{webhook_id}:
    get:
      tags:
      - public-webhooks
      summary: Get Webhook
      operationId: getWebhook
      parameters:
      - name: webhook_id
        in: path
        required: true
        schema:
          type: string
          title: Webhook Id
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
      description: Retrieve one registered webhook without its signing secret.
    delete:
      tags:
      - public-webhooks
      summary: Delete Webhook By Id
      operationId: deleteWebhookById
      parameters:
      - name: webhook_id
        in: path
        required: true
        schema:
          type: string
          title: Webhook Id
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
      description: Delete a registered webhook by ID.
  /api/public/v1/webhooks/{webhook_id}/deliveries:
    get:
      tags:
      - public-webhooks
      summary: List Webhook Deliveries
      operationId: listWebhookDeliveries
      parameters:
      - name: webhook_id
        in: path
        required: true
        schema:
          type: string
          title: Webhook Id
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Page Size
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveryAttemptList'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
      description: List bounded webhook delivery attempts and status without event payloads.
  /api/public/v1/webhooks/{webhook_id}/test:
    post:
      tags:
      - public-webhooks
      summary: Test Webhook
      description: Send a signed test event containing no participant or study data.
      operationId: testWebhook
      parameters:
      - name: webhook_id
        in: path
        required: true
        schema:
          type: string
          title: Webhook Id
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookTestResult'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
  /api/public/v1/webhooks/{webhook_id}/rotate-secret:
    post:
      tags:
      - public-webhooks
      summary: Rotate Webhook Secret
      description: Replace the signing secret; the new value is returned once.
      operationId: rotateWebhookSecret
      parameters:
      - name: webhook_id
        in: path
        required: true
        schema:
          type: string
          title: Webhook Id
      - name: X-UI-Organization-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 128
          - type: 'null'
          description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
          title: X-Ui-Organization-Id
        description: Choose an organization you belong to for scoped reads, writes, and billing. Users can belong to multiple organizations. Platform administrators may select any organization in this app.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Webhook'
        '422':
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
        default:
          description: Public API error. X-Request-ID matches error.request_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorResponse'
components:
  schemas:
    WebhookTestResult:
      properties:
        success:
          type: boolean
          title: Success
        status_code:
          anyOf:
          - type: integer
          - type: 'null'
          title: Status Code
        error_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Code
      type: object
      required:
      - success
      title: WebhookTestResult
    WebhookCreate:
      properties:
        hook_url:
          type: string
          title: Hook Url
          description: HTTPS URL to receive subscribed research lifecycle events
        study_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Study Id
          description: Limit delivery to one study; omit for all studies in the account
        event_types:
          items:
            type: string
            enum:
            - interview.completed
            - interview.started
            - interview.ended
            - study.completed
            - report.ready
            - study.paused
            - study.resumed
            - study.stopped
            - participant.screened
            - participant.started
            - participant.quality_scored
            - study.quota_reached
          type: array
          maxItems: 12
          minItems: 1
          title: Event Types
          description: Events to deliver to this URL
      additionalProperties: false
      type: object
      required:
      - hook_url
      title: WebhookCreate
    PublicApiErrorResponse:
      type: object
      required:
      - detail
      - error
      properties:
        detail:
          description: Legacy error detail; may be a string, list, or object.
        error:
          $ref: '#/components/schemas/PublicApiError'
    Webhook:
      properties:
        id:
          type: string
          title: Id
        hook_url:
          type: string
          title: Hook Url
        study_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Study Id
        event_types:
          items:
            type: string
          type: array
          title: Event Types
        signing_secret:
          anyOf:
          - type: string
          - type: 'null'
          title: Signing Secret
          description: HMAC secret for verifying delivery signatures. Returned at creation and on a same-key retry within 30 days while current; store it securely
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
      type: object
      required:
      - id
      - hook_url
      title: Webhook
    WebhookDeliveryAttemptList:
      properties:
        attempts:
          items:
            $ref: '#/components/schemas/WebhookDeliveryAttempt'
          type: array
          title: Attempts
        total_count:
          type: integer
          title: Total Count
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
      type: object
      required:
      - attempts
      - total_count
      - page
      - page_size
      title: WebhookDeliveryAttemptList
    PublicApiError:
      type: object
      required:
      - code
      - message
      - field
      - request_id
      - outcome
      - recovery_action
      - docs_url
      properties:
        code:
          type: string
        message:
          type: string
        field:
          anyOf:
          - type: string
          - type: 'null'
        request_id:
          type: string
          format: uuid
        outcome:
          type: string
          enum:
          - not_started
          - failed
          - unknown
        recovery_action:
          type: string
        docs_url:
          type: string
          format: uri
    WebhookDelete:
      properties:
        hook_url:
          type: string
          title: Hook Url
      additionalProperties: false
      type: object
      required:
      - hook_url
      title: WebhookDelete
    WebhookList:
      properties:
        webhooks:
          items:
            $ref: '#/components/schemas/Webhook'
          type: array
          title: Webhooks
        total_count:
          type: integer
          title: Total Count
      type: object
      required:
      - webhooks
      - total_count
      title: WebhookList
    WebhookDeliveryAttempt:
      properties:
        id:
          type: string
          title: Id
        event_type:
          type: string
          title: Event Type
        attempted_at:
          type: string
          format: date-time
          title: Attempted At
        status_code:
          anyOf:
          - type: integer
          - type: 'null'
          title: Status Code
        success:
          type: boolean
          title: Success
        error_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Error Code
        duration_ms:
          type: integer
          title: Duration Ms
      type: object
      required:
      - id
      - event_type
      - attempted_at
      - success
      - duration_ms
      title: WebhookDeliveryAttempt
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authenticate with an API key (prefixed `ui_sk_`) or a JWT token from the dashboard.