---
updatedAt: 2026-07-21T14:55:00.000Z
agentTools:
  projectIndex: https://docs.sikoia.com/llms.txt
---

# Retrieve a webhook

### Retrieves a webhook.

Returns information about a webhook, including the `webhook_callback_url` and a list of associated `event_types`.


Returns information about a webhook, including the `webhook_callback_url` and a list of associated `event_types`.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Sikoia API",
    "termsOfService": "https://sikoia.com/About/Terms",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sikoia.com",
      "description": "API (Production)"
    },
    {
      "url": "https://oauth2.sikoia.com",
      "description": "Authorization Server (Production)"
    },
    {
      "url": "https://api-staging.sikoia.com",
      "description": "API (Staging)"
    },
    {
      "url": "https://oauth2-staging.sikoia.com",
      "description": "Authorization Server (Staging)"
    }
  ],
  "paths": {
    "/v2/webhooks/{webhook_id}": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Retrieve a webhook",
        "description": "### Retrieves a webhook.\r\n\r\nReturns information about a webhook, including the `webhook_callback_url` and a list of associated `event_types`.\r\n",
        "operationId": "GET_v2-webhooks-webhook_id",
        "parameters": [
          {
            "name": "webhook_id",
            "in": "path",
            "description": "Webhook Id",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook successfully retrieved",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.External.Webhook"
                },
                "example": {
                  "webhook_id": "string",
                  "webhook_name": "Bank Statement Hook",
                  "webhook_callback_url": "https://yourdomain.com/webhook/",
                  "external_ref": "IntRef001",
                  "event_types": "[\"BankStatementProcessing.Completed\"]",
                  "datetime_created": "2024-01-18T12:37:35.0000000+00:00",
                  "datetime_updated": "2024-01-18T12:37:35.0000000+00:00"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse401"
                },
                "example": {
                  "type": "InvalidToken",
                  "status": "401",
                  "title": "Invalid Token",
                  "detail": "Invalid token",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          },
          "404": {
            "description": "Webhook does not exist",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse404"
                },
                "example": {
                  "type": "ResourceNotFound",
                  "status": "404",
                  "title": "Resource Not Found",
                  "detail": "No resources found with id 6afd715b195c4d11b9e796bcdfbdfd9a.",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse429"
                },
                "example": {
                  "type": "RateLimit",
                  "status": "429",
                  "title": "Too Many Requests",
                  "detail": "You've exceeded the maximum API request limit per minute. Please try again later.",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroserviceUserManagement.Resources.SikoiaErrorResponse500"
                },
                "example": {
                  "type": "ServerError",
                  "status": "500",
                  "title": "Internal Server Error",
                  "detail": "Something has gone wrong, please try again",
                  "correlation_id": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "MicroserviceUserManagement.Resources.External.Webhook": {
        "required": [
          "event_types",
          "webhook_callback_url",
          "webhook_name"
        ],
        "type": "object",
        "properties": {
          "webhook_id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "webhook_name": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string",
            "description": "The user friendly, case sensitive, name for a webhook - it does not have to be unique",
            "example": "Bank Statement Hook"
          },
          "webhook_callback_url": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "string",
            "description": "The absolute HTTPS URL that a POST request will be made to when the webhook is triggered",
            "example": "https://yourdomain.com/webhook/"
          },
          "external_ref": {
            "type": "string",
            "description": "Optional value if you need to associate a webhook instance with a reference in your system",
            "nullable": true,
            "example": "IntRef001"
          },
          "event_types": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Supported events a webhook can subscribe to",
            "example": "[\"BankStatementProcessing.Completed\"]"
          },
          "datetime_created": {
            "type": "string",
            "description": "UTC Date and time when the webhook was created, formatted: yyyy-MM-ddTHH:mm:ss.fffZ",
            "format": "date-time",
            "readOnly": true,
            "example": "2024-01-18T12:37:35.0000000+00:00"
          },
          "datetime_updated": {
            "type": "string",
            "description": "UTC Date and time when the webhook was last updated, formatted: yyyy-MM-ddTHH:mm:ss.fffZ",
            "format": "date-time",
            "readOnly": true,
            "example": "2024-01-18T12:37:35.0000000+00:00"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse401": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "InvalidToken"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "401"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Invalid Token"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "Invalid token"
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse404": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "ResourceNotFound"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "404"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Resource Not Found"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "No resources found with id 6afd715b195c4d11b9e796bcdfbdfd9a."
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse429": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "RateLimit"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "429"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Too Many Requests"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "You've exceeded the maximum API request limit per minute. Please try again later."
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      },
      "MicroserviceUserManagement.Resources.SikoiaErrorResponse500": {
        "title": "MicroserviceUserManagement.Resources.SikoiaErrorResponse",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The error type",
            "readOnly": true,
            "example": "ServerError"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code of the error",
            "format": "HttpCode",
            "readOnly": true,
            "example": "500"
          },
          "title": {
            "type": "string",
            "description": "A short description of the error",
            "readOnly": true,
            "example": "Internal Server Error"
          },
          "detail": {
            "type": "string",
            "description": "More details about what went wrong",
            "readOnly": true,
            "example": "Something has gone wrong, please try again"
          },
          "correlation_id": {
            "type": "string",
            "description": "Correlation ID, please include this in any support tickets raised",
            "readOnly": true,
            "example": "a28d1abd-ad97-4a1f-bd14-6698c5214544"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "authorizationHeader": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "apikey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "authorizationHeader": []
    },
    {
      "apiKeyHeader": []
    }
  ]
}
```