Attentive Webhooks API

Create and manage webhooks

Operations 4

GET /webhooks List webhooks #
POST /webhooks Create webhook #
DELETE /webhooks/{webhookId} Delete webhook #
PUT /webhooks/{webhookId} Update webhook #

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/attentive-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

attentive-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: For any questions, reach out to your Attentive point of contact (if applicable) or api@attentivemobile.com.
  title: Attentive Webhooks API
  version: ''
servers:
- url: https://api.attentivemobile.com/v1
  description: Attentive API
security:
- bearerAuth: []
tags:
- name: Webhooks
  description: Create and manage webhooks
paths:
  /webhooks:
    x-external: true
    get:
      x-external: true
      x-emits-event: true
      security:
      - OAuthFlow:
        - webhooks:write
      summary: List webhooks
      description: Make an API call to this endpoint to list existing webhooks.
      operationId: getWebhooks
      tags:
      - Webhooks
      responses:
        '200':
          description: existing webhooks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWebhooksResponseDto'
        '400':
          $ref: '#/components/responses/InvalidParameter'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AccessDenied'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
    post:
      x-external: true
      x-emits-event: true
      security:
      - OAuthFlow:
        - webhooks:write
      summary: Create webhook
      description: 'Make an API call to this endpoint to subscribe to a webhook.


        Events are a collection of strings of the following types:

        * `sms.subscribed`

        * `sms.sent`

        * `sms.message_link_click`

        * `email.subscribed`

        * `email.unsubscribed`

        * `email.message_link_click`

        * `email.opened`

        * `custom_attribute.set`


        Event types are case sensitive.


        All events included will be sent to the URL.'
      operationId: createWebhook
      tags:
      - Webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookRequestDto'
      responses:
        '201':
          description: Webhook has been created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateWebhookResponseDto'
        '400':
          $ref: '#/components/responses/InvalidParameter'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AccessDenied'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
  /webhooks/{webhookId}:
    delete:
      x-external: true
      x-emits-event: true
      security:
      - OAuthFlow:
        - webhooks:write
      summary: Delete webhook
      description: Make an API call to this endpoint to remove a webhook.
      operationId: deleteWebhook
      parameters:
      - name: webhookId
        in: path
        description: id of the webhook to delete
        required: true
        schema:
          type: string
      tags:
      - Webhooks
      responses:
        '204':
          description: Webhook has been deleted
        '400':
          $ref: '#/components/responses/InvalidParameter'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AccessDenied'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
    put:
      x-external: true
      x-emits-event: true
      security:
      - OAuthFlow:
        - webhooks:write
      summary: Update webhook
      description: Make an API call to this endpoint to update a webhook
      operationId: updateWebhook
      parameters:
      - name: webhookId
        in: path
        description: The id of the webhook to update
        required: true
        schema:
          type: string
      tags:
      - Webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookRequestDto'
      responses:
        '200':
          description: Webhook has been updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateWebhookResponseDto'
        '400':
          $ref: '#/components/responses/InvalidParameter'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AccessDenied'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    InvalidParameter:
      description: Invalid parameter in request query or body
    InternalError:
      description: Internal Server Error
    Unauthorized:
      description: Unauthorized
    AccessDenied:
      description: Access Denied
    NotFound:
      description: The specified resource was not found
  schemas:
    UpdateWebhookRequestDto:
      type: object
      properties:
        url:
          type: string
          description: The destination url of the webhook
          example: https://example.com/webhooks
        events:
          type: array
          items:
            type: string
          description: The list of events this webhook is subscribed to
          example:
          - sms.sent
          - phone.subscribed
        disabled:
          type: boolean
          description: (optional) Disable the webhook endpoint if set to true.
    CreateWebhookResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The id of the installed webhook
          example: MjU6Q29tcGFueUFwcGxpY2F0aW9uV2ViaG9vazIy
        url:
          type: string
          description: The destination url of the webhook
          example: https://example.com/webhooks
        events:
          type: array
          items:
            type: string
          description: The list of events this webhook is subscribed to
          example:
          - sms.sent
          - phone.subscribed
        type:
          type: string
          description: The type of webhook; can be either `INSTALLED` or `CREATOR`
        disabledAt:
          type: string
          description: (optional) Date (YYYY-MM-DD hh:mm:ss) of when the webhook was deleted if it was deleted
    GetWebhookResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The id of the installed webhook
          example: MjU6Q29tcGFueUFwcGxpY2F0aW9uV2ViaG9vazIy
        url:
          type: string
          description: The destination url of the webhook
          example: https://example.com/webhooks
        type:
          type: string
          description: The type of webhook; can be either `SUBSCRIPTION` or `STATIC`
        events:
          type: array
          items:
            type: string
          description: The list of events this webhook is subscribed to
          example:
          - sms.sent
          - phone.subscribed
        companyId:
          type: string
          description: The installer company ID
          example: MDc6Q29tcGFueTI
        disabledAt:
          type: string
          description: (optional) Date (YYYY-MM-DD hh:mm:ss) of when the webhook was deleted if it was deleted
    UpdateWebhookResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The id of the installed webhook
          example: MjU6Q29tcGFueUFwcGxpY2F0aW9uV2ViaG9vazIy
        url:
          type: string
          description: The destination url of the webhook
          example: https://example.com/webhooks
        events:
          type: array
          items:
            type: string
          description: The list of events this webhook is subscribed to
          example:
          - sms.sent
          - phone.subscribed
        type:
          type: string
          description: The type of webhook; can be either `INSTALLED` or `CREATOR`
        disabledAt:
          type: string
          description: (optional) Date (YYYY-MM-DD hh:mm:ss) of when the webhook was deleted if it was deleted
    GetWebhooksResponseDto:
      type: object
      properties:
        webhooks:
          type: array
          items:
            $ref: '#/components/schemas/GetWebhookResponseDto'
    CreateWebhookRequestDto:
      type: object
      properties:
        url:
          type: string
          description: The destination url of the webhook
          example: https://example.com/webhooks
        events:
          type: array
          items:
            type: string
          description: The list of events this webhook is subscribed to
          example:
          - sms.sent
          - phone.subscribed
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    OAuthFlow:
      type: oauth2
      description: This API uses OAuth 2 with the authorization code grant flow. [More info](https://docs.attentivemobile.com/pages/authentication/)
      flows:
        authorizationCode:
          authorizationUrl: https://ui-devel.attentivemobile.com/integrations/oauth-install?client_id={clientId}&redirect_uri={redirectUri}&scope={scope}
          tokenUrl: https://api.attentivemobile.com/v1/authorization-codes/tokens
          scopes:
            attributes:write: read and write custom attributes
            subscriptions:write: read and write subscriptions
            events:write: read and write custom events
            ecommerce:write: read and write ecommerce events
            segments:write: read and write segments
            segments:read: read segments
x-readme:
  explorer-enabled: false