---
title: "Test"
method: POST
path: "/api/v1/webhooks/{id}/test"
tags: ["Webhook"]
---

# Test

`POST /api/v1/webhooks/{id}/test`

Send a sample event to the webhook URL to verify that the endpoint is reachable and responding correctly.

## Path parameters

- `id` string, required — The ID of the webhook to send a test event to.

## Request body

- C1ApiWebhooksV1WebhooksServiceTestRequestInput — The WebhooksServiceTestRequest message.

## Response `200`

Successful response

- C1ApiWebhooksV1WebhooksServiceTestResponse — The WebhooksServiceTestResponse message.
  - `webhook` C1ApiWebhooksV1WebhookInstance — The WebhookInstance message.
    - `attempts` integer — The attempts field.
    - `completedAt` string, date-time
    - `createdAt` string, date-time
    - `expiresAt` string, date-time
    - `id` string — The id field.
    - `lastAttemptedAt` string, date-time
    - `source` C1ApiWebhooksV1WebhookSource — The WebhookSource message. This message contains a oneof named source. Only a single field of the following list may be set at a time: - test - policyPostAction - approvalStep - provisionStep - workflowStep
      - `approvalStep` C1ApiWebhooksV1WebhookSourceWebhookSourceApprovalStep, nullable — The WebhookSourceApprovalStep message.
        - `ticketId` string — The ticketId field.
      - `policyPostAction` C1ApiWebhooksV1WebhookSourceWebhookSourcePolicyPostAction, nullable — The WebhookSourcePolicyPostAction message.
        - `ticketId` string — The ticketId field.
      - `provisionStep` C1ApiWebhooksV1WebhookSourceWebhookSourceProvisionStep, nullable — The WebhookSourceProvisionStep message.
        - `ticketId` string — The ticketId field.
      - `test` C1ApiWebhooksV1WebhookSourceWebhookSourceTest, nullable — The WebhookSourceTest message.
      - `workflowStep` C1ApiWebhooksV1WebhookSourceWebhookSourceWorkflowStep, nullable — The WebhookSourceWorkflowStep message.
        - `workflowExecutionId` string, int64 — The workflowExecutionId field.
        - `workflowStepId` string — The workflowStepId field.
    - `spec` C1ApiWebhooksV1WebhookSpec — The WebhookSpec message.
      - `destination` string — The destination field.
    - `state` 'WEBHOOK_STATE_UNSPECIFIED' | 'WEBHOOK_STATE_PENDING' | 'WEBHOOK_STATE_RUNNING' | 'WEBHOOK_STATE_ERROR' | 'WEBHOOK_STATE_WAITING_CALLBACK' | 'WEBHOOK_STATE_PROCESS_RESPONSE' | 'WEBHOOK_STATE_SUCCESS' | 'WEBHOOK_STATE_FATAL_ERROR' — The state field.
    - `updatedAt` string, date-time
    - `webhookId` string — The webhookId field.

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/d391405a35d3/schema)
