Okta EventHook API

The EventHook API from Okta — 5 operation(s) for eventhook.

GitHub OpenAPI
Business capability
Webhook & Event Subscription Management BC-4270.80

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/eventHooks List event hooks · List event hooks #
Ask an LLM
“Which event hooks are registered in my Okta org?”
“What external endpoints receive my Okta events?”
Tell an agent
List my event hooks.
Show all registered event hooks and their status.
POST /api/v1/eventHooks Create an event hook · Create event hook #
Ask an LLM
“How do I send Okta events like user sign-ins to my own endpoint?”
“Which events can an event hook subscribe to?”
Tell an agent
Create an event hook named {name} that delivers {events} to {channel}.
Register event hook {name} pointing at channel {channel}.
GET /api/v1/eventHooks/{eventHookId} Get an event hook · Get event hook #
Ask an LLM
“Is a specific event hook verified and active?”
“Can I see which events one hook subscribes to?”
Tell an agent
Show event hook {eventHookId}.
Get the verification status of event hook {eventHookId}.
PUT /api/v1/eventHooks/{eventHookId} Update an event hook · Update event hook #
Ask an LLM
“Can I change the endpoint or events of an existing hook?”
“How do I rename an event hook?”
Tell an agent
Change the events on hook {eventHookId} to {events}.
Rename event hook {eventHookId} to {name}.
DELETE /api/v1/eventHooks/{eventHookId} Delete an event hook · Delete event hook #
Ask an LLM
“How do I permanently remove an event hook?”
“Do I have to deactivate a hook before deleting it?”
Tell an agent destructive · confirm first
Delete event hook {eventHookId}.
Permanently remove event hook {eventHookId}.
POST /api/v1/eventHooks/{eventHookId}/lifecycle/activate Activate an event hook · Activate event hook #
Ask an LLM
“How do I turn an event hook back on?”
“Can a deactivated hook resume delivering events?”
Tell an agent
Activate event hook {eventHookId}.
Resume deliveries for event hook {eventHookId}.
POST /api/v1/eventHooks/{eventHookId}/lifecycle/deactivate Deactivate an event hook · Deactivate event hook #
Ask an LLM
“How do I pause event deliveries to my endpoint?”
“Can I switch off a hook without deleting it?”
Tell an agent destructive · confirm first
Deactivate event hook {eventHookId}.
Pause deliveries for event hook {eventHookId}.
POST /api/v1/eventHooks/{eventHookId}/lifecycle/verify Verify an event hook endpoint · Verify event hook #
Ask an LLM
“How do I prove to Okta that I own my event hook endpoint?”
“Why won't my hook deliver until it is verified?”
Tell an agent
Verify event hook {eventHookId}.
Run the ownership verification for event hook {eventHookId}.

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/okta:okta-eventhook-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

okta-eventhook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Okta Event Hook API
  description: Allows customers to easily access the Okta API
  termsOfService: https://developer.okta.com/terms/
  contact:
    name: Okta Developer Team
    url: https://developer.okta.com/
    email: devex-public@okta.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.16.0
servers:
- url: https://your-subdomain.okta.com/
tags:
- name: EventHook
paths:
  /api/v1/eventHooks:
    get:
      tags:
      - EventHook
      description: Success
      operationId: listEventHooks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      summary: List event hooks
      x-summary-source: derived
    post:
      tags:
      - EventHook
      description: Success
      operationId: createEventHook
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventHook'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      x-codegen-request-body-name: eventHook
      summary: Create event hook
      x-summary-source: derived
  /api/v1/eventHooks/{eventHookId}:
    get:
      tags:
      - EventHook
      description: Success
      operationId: getEventHook
      parameters:
      - name: eventHookId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      summary: Get event hook
      x-summary-source: derived
    put:
      tags:
      - EventHook
      description: Success
      operationId: updateEventHook
      parameters:
      - name: eventHookId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventHook'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      x-codegen-request-body-name: eventHook
      summary: Update event hook
      x-summary-source: derived
    delete:
      tags:
      - EventHook
      description: Success
      operationId: deleteEventHook
      parameters:
      - name: eventHookId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
          content: {}
      security:
      - api_token: []
      summary: Delete event hook
      x-summary-source: derived
  /api/v1/eventHooks/{eventHookId}/lifecycle/activate:
    post:
      tags:
      - EventHook
      description: Success
      operationId: activateEventHook
      parameters:
      - name: eventHookId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      summary: Activate event hook
      x-summary-source: derived
  /api/v1/eventHooks/{eventHookId}/lifecycle/deactivate:
    post:
      tags:
      - EventHook
      description: Success
      operationId: deactivateEventHook
      parameters:
      - name: eventHookId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      summary: Deactivate event hook
      x-summary-source: derived
  /api/v1/eventHooks/{eventHookId}/lifecycle/verify:
    post:
      tags:
      - EventHook
      description: Success
      operationId: verifyEventHook
      parameters:
      - name: eventHookId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventHook'
      security:
      - api_token: []
      summary: Verify event hook
      x-summary-source: derived
components:
  schemas:
    EventHookChannel:
      type: object
      properties:
        config:
          $ref: '#/components/schemas/EventHookChannelConfig'
        type:
          type: string
          enum:
          - HTTP
        version:
          type: string
      x-okta-tags:
      - EventHook
    EventHookChannelConfig:
      type: object
      properties:
        authScheme:
          $ref: '#/components/schemas/EventHookChannelConfigAuthScheme'
        headers:
          type: array
          items:
            $ref: '#/components/schemas/EventHookChannelConfigHeader'
        uri:
          type: string
      x-okta-tags:
      - EventHook
    EventHookChannelConfigAuthSchemeType:
      type: string
      enum:
      - HEADER
      x-okta-tags:
      - EventHook
    EventHookChannelConfigAuthScheme:
      type: object
      properties:
        key:
          type: string
        type:
          $ref: '#/components/schemas/EventHookChannelConfigAuthSchemeType'
        value:
          type: string
      x-okta-tags:
      - EventHook
    EventHookChannelConfigHeader:
      type: object
      properties:
        key:
          type: string
        value:
          type: string
      x-okta-tags:
      - EventHook
    EventSubscriptions:
      type: object
      properties:
        items:
          type: array
          items:
            type: string
        type:
          type: string
          enum:
          - EVENT_TYPE
          - FLOW_EVENT
      discriminator:
        propertyName: type
      x-okta-tags:
      - EventHook
    EventHook:
      type: object
      properties:
        _links:
          type: object
          additionalProperties:
            type: object
            properties: {}
          readOnly: true
        channel:
          $ref: '#/components/schemas/EventHookChannel'
        created:
          type: string
          format: date-time
          readOnly: true
        createdBy:
          type: string
        events:
          $ref: '#/components/schemas/EventSubscriptions'
        id:
          type: string
          readOnly: true
        lastUpdated:
          type: string
          format: date-time
          readOnly: true
        name:
          type: string
        status:
          type: string
          enum:
          - ACTIVE
          - INACTIVE
        verificationStatus:
          type: string
          enum:
          - UNVERIFIED
          - VERIFIED
      x-okta-crud:
      - alias: create
        arguments:
        - dest: eventHook
          self: true
        operationId: createEventHook
      - alias: read
        arguments: []
        operationId: getEventHook
      - alias: update
        arguments:
        - dest: eventHookId
          src: id
        - dest: eventHook
          self: true
        operationId: updateEventHook
      - alias: delete
        arguments:
        - dest: eventHookId
          src: id
        operationId: deleteEventHook
      x-okta-operations:
      - alias: activate
        arguments:
        - dest: eventHookId
          src: id
        operationId: activateEventHook
      - alias: deactivate
        arguments:
        - dest: eventHookId
          src: id
        operationId: deactivateEventHook
      - alias: verify
        arguments:
        - dest: eventHookId
          src: id
        operationId: verifyEventHook
      x-okta-tags:
      - EventHook
  securitySchemes:
    api_token:
      type: apiKey
      description: SSWS {API Token}
      name: Authorization
      in: header
externalDocs:
  description: Find more info here
  url: https://developer.okta.com/docs/api/getting_started/design_principles.html
x-provenance:
  method: harvested
  publisher: Okta
  source: https://raw.githubusercontent.com/okta/okta-management-openapi-spec/HEAD/dist/legacy-v1-swagger/spec.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)