> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pomerado.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# call_pomerado_api

> Call one Pomerado API operation and return its JSON answer.

## Arguments

| Argument | Required | Type | Description |
| - | - | - | - |
| `operation` | Yes | string, up to 100 characters | An operation from search\_pomerado\_api, such as api\_keys.create |
| `input` | No | string | The operation's input as a JSON-encoded object, with the fields describe\_pomerado\_api lists. Omit it when the operation takes none. |

## Output

The operation's JSON answer, as REST answers it.

<CodeGroup>
  ```json Arguments theme={null}
  {
    "operation": "webhooks.get",
    "input": "{\"id\":\"wh_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}"
  }
  ```

  ```json Result theme={null}
  {
    "id": "wh_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "created_by": {
      "user_id": "user_01K6QZ8V3N4M5P6R7S8T9W0XYZ",
      "email": "alex@example.com"
    },
    "url": "https://example.com/pomerado/webhooks",
    "events": ["job.needs_input", "job.succeeded", "job.failed"],
    "status": "active",
    "disabled_reason": null,
    "created_at": "2026-09-30T18:00:00.000Z",
    "last_delivery_at": "2026-10-09T17:00:07.000Z"
  }
  ```
</CodeGroup>

<Accordion title="Details">
  * Pass the input describe\_pomerado\_api gives.
  * Confirm a destructive operation with the user first; it cannot be undone.
  * A secret in the answer, such as a new API key, reaches this conversation. Pass deliver "dashboard" where the operation offers it to keep the secret out.

  **Effect:** May change a website or your account, and a change may not be undoable.
</Accordion>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.