---
title: "Configure Test Event Webhook Loopback Response"
method: POST
path: "/programs/{programCode}/testeventwebhooksetconfig"
tags: ["Event"]
---

# Configure Test Event Webhook Loopback Response

`POST /programs/{programCode}/testeventwebhooksetconfig`

Sets the minimum and maximum delay, HTTP status code, response body, and content type for the test event webhook loopback endpoint.

## Path parameters

- `programCode` string, required

## Headers

- `X-GD-RequestId` string, required

## Request body

- TestEventWebHookSetConfigRequest — Represents a request to configure the test event webhook behavior for integration testing. Allows simulation of webhook response delays, HTTP status codes, and custom response bodies/content types. Used to test webhook consumers by controlling the timing and content of webhook responses.
  - `minimum` integer — Gets or sets the minimum amount of time (in milliseconds) to delay the webhook response. A value of 0 means no delay will be applied.
  - `maximum` integer — Gets or sets the maximum amount of time (in milliseconds) to delay the webhook response. A value of 0 means no delay will be applied.
  - `responseHttpStatusCode` 'Continue' | 'SwitchingProtocols' | 'Processing' | 'EarlyHints' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultiStatus' | 'AlreadyReported' | 'IMUsed' | 'MultipleChoices' | 'MovedPermanently' | 'Found' | 'SeeOther' | 'NotModified' | 'UseProxy' | 'Unused' | 'RedirectKeepVerb' | 'PermanentRedirect' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'MisdirectedRequest' | 'UnprocessableEntity' | 'Locked' | 'FailedDependency' | 'UpgradeRequired' | 'PreconditionRequired' | 'TooManyRequests' | 'RequestHeaderFieldsTooLarge' | 'UnavailableForLegalReasons' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported' | 'VariantAlsoNegotiates' | 'InsufficientStorage' | 'LoopDetected' | 'NotExtended' | 'NetworkAuthenticationRequired', nullable — Gets or sets the HTTP status code to be returned in the simulated webhook response. If not provided, the default status code will be used.
  - `responseBody` string, nullable — Gets or sets the HTTP response body to be returned when Gd.Bos.DataTransfer.Request.TestEventWebHookSetConfigRequest.ResponseHttpStatusCode is provided. If null or empty, the response will not include a body.
  - `responseContentType` string, nullable — Gets or sets the content type to return with the Gd.Bos.DataTransfer.Request.TestEventWebHookSetConfigRequest.ResponseHttpStatusCode. If null or empty, defaults to "application/json" or as determined by the server.

## Response `200`

OK

- ResponseBase — Base class for all API responses, providing standard response metadata and details. Contains the response header with request tracking information and a list of response details describing the outcome of the operation. Used as a foundation for all response objects to ensure consistent structure and error handling across the API.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/revisions/666553766b78/schema)
