---
title: "POST /api/v1/inlineHooks/{inlineHookId}/execute"
method: POST
path: "/api/v1/inlineHooks/{inlineHookId}/execute"
tags: ["InlineHook"]
---

# POST /api/v1/inlineHooks/{inlineHookId}/execute

`POST /api/v1/inlineHooks/{inlineHookId}/execute`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/inlineHooks/{inlineHookId}/execute`
- Auth: API key in header `Authorization`

Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.

## Path parameters

- `inlineHookId` string, required

## Request body

- InlineHookPayload

## Response `200`

Success

- InlineHookResponse
  - `commands` InlineHookResponseCommands[]
    - `type` string
    - `value` InlineHookResponseCommandValue[]
      - `op` string
      - `path` string
      - `value` string

---

[API](https://skmtc.dev/okta/apis/okta-api.md) - [All operations](https://skmtc.dev/okta/apis/okta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/okta/apis/okta-api/revisions/7e5249c30571?raw)
