{"files":{"SKILL.md":"---\nname: hookdeck-admin-rest-api\ndescription: \"Hookdeck Admin REST API skill. Use when working with Hookdeck Admin REST for issue-triggers, attempts, bookmarks. Covers 101 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Hookdeck Admin REST API\nAPI version: 1.0.0\n\n## Auth\nBearer bearer | Bearer basic\n\n## Base URL\nhttps://api.hookdeck.com/2024-09-01\n\n## Setup\n1. Set Authorization header with Bearer token\n2. GET /issue-triggers -- get issue triggers\n3. POST /issue-triggers -- create first issue-trigger\n\n## Endpoints\n101 endpoints across 14 groups. See references/api-spec.lap for full details.\n\n### Issue-triggers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /issue-triggers | Get issue triggers |\n| POST | /issue-triggers | Create an issue trigger |\n| PUT | /issue-triggers | Create or update an issue trigger |\n| GET | /issue-triggers/{id} | Get a single issue trigger |\n| PUT | /issue-triggers/{id} | Update an issue trigger |\n| DELETE | /issue-triggers/{id} | Delete an issue trigger |\n| PUT | /issue-triggers/{id}/disable | Disable an issue trigger |\n| PUT | /issue-triggers/{id}/enable | Enable an issue trigger |\n\n### Attempts\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /attempts | Get attempts |\n| GET | /attempts/{id} | Get a single attempt |\n\n### Bookmarks\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /bookmarks | Get bookmarks |\n| POST | /bookmarks | Create a bookmark |\n| GET | /bookmarks/{id} | Get a single bookmark |\n| PUT | /bookmarks/{id} | Update a bookmark |\n| DELETE | /bookmarks/{id} | Delete a bookmark |\n| GET | /bookmarks/{id}/raw_body | Get a bookmark raw body data |\n| POST | /bookmarks/{id}/trigger | Trigger a bookmark |\n\n### Destinations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /destinations | Get destinations |\n| POST | /destinations | Create a destination |\n| PUT | /destinations | Update or create a destination |\n| GET | /destinations/{id} | Get a destination |\n| PUT | /destinations/{id} | Update a destination |\n| DELETE | /destinations/{id} | Delete a destination |\n| PUT | /destinations/{id}/disable | Disable a destination |\n| PUT | /destinations/{id}/archive | Disable a destination |\n| PUT | /destinations/{id}/enable | Enable a destination |\n| PUT | /destinations/{id}/unarchive | Enable a destination |\n\n### Bulk\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /bulk/events/retry | Get events bulk retries |\n| POST | /bulk/events/retry | Create an events bulk retry |\n| GET | /bulk/events/retry/plan | Generate an events bulk retry plan |\n| GET | /bulk/events/retry/{id} | Get an events bulk retry |\n| POST | /bulk/events/retry/{id}/cancel | Cancel an events bulk retry |\n| GET | /bulk/ignored-events/retry | Get ignored events bulk retries |\n| POST | /bulk/ignored-events/retry | Create an ignored events bulk retry |\n| GET | /bulk/ignored-events/retry/plan | Generate an ignored events bulk retry plan |\n| GET | /bulk/ignored-events/retry/{id} | Get an ignored events bulk retry |\n| POST | /bulk/ignored-events/retry/{id}/cancel | Cancel an ignored events bulk retry |\n| GET | /bulk/requests/retry | Get request bulk retries |\n| POST | /bulk/requests/retry | Create a requests bulk retry |\n| GET | /bulk/requests/retry/plan | Generate a requests bulk retry plan |\n| GET | /bulk/requests/retry/{id} | Get a requests bulk retry |\n| POST | /bulk/requests/retry/{id}/cancel | Cancel a requests bulk retry |\n\n### Events\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /events | Get events |\n| GET | /events/{id} | Get an event |\n| GET | /events/{id}/raw_body | Get a event raw body data |\n| POST | /events/{id}/retry | Retry an event |\n| PUT | /events/{id}/mute | Mute an event |\n\n### Integrations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /integrations | Get integrations |\n| POST | /integrations | Create an integration |\n| GET | /integrations/{id} | Get an integration |\n| PUT | /integrations/{id} | Update an integration |\n| DELETE | /integrations/{id} | Delete an integration |\n| PUT | /integrations/{id}/attach/{source_id} | Attach an integration to a source |\n| PUT | /integrations/{id}/detach/{source_id} | Detach an integration from a source |\n\n### Issues\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /issues | Get issues |\n| GET | /issues/count | Get the number of issues |\n| GET | /issues/{id} | Get a single issue |\n| PUT | /issues/{id} | Update issue |\n| DELETE | /issues/{id} | Dismiss an issue |\n\n### Requests\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /requests | Get requests |\n| GET | /requests/{id} | Get a request |\n| GET | /requests/{id}/raw_body | Get a request raw body data |\n| POST | /requests/{id}/retry | Retry a request |\n| GET | /requests/{id}/events | Get request events |\n| GET | /requests/{id}/ignored_events | Get request ignored events |\n\n### Sources\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /sources | Get sources |\n| POST | /sources | Create a source |\n| PUT | /sources | Update or create a source |\n| GET | /sources/{id} | Get a source |\n| PUT | /sources/{id} | Update a source |\n| DELETE | /sources/{id} | Delete a source |\n| PUT | /sources/{id}/disable | Disable a source |\n| PUT | /sources/{id}/archive | Disable a source |\n| PUT | /sources/{id}/enable | Enable a source |\n| PUT | /sources/{id}/unarchive | Enable a source |\n\n### Notifications\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /notifications/webhooks | Toggle webhook notifications for the project |\n\n### Teams\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /teams/current/custom_domains | Add a custom domain to the project |\n| GET | /teams/current/custom_domains | List all custom domains and their verification statuses for the project |\n| DELETE | /teams/current/custom_domains/{domain_id} | Removes a custom domain from the project |\n\n### Transformations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /transformations | Get transformations |\n| POST | /transformations | Create a transformation |\n| PUT | /transformations | Update or create a transformation |\n| GET | /transformations/{id} | Get a transformation |\n| DELETE | /transformations/{id} | Delete a transformation |\n| PUT | /transformations/{id} | Update a transformation |\n| PUT | /transformations/run | Test a transformation code |\n| GET | /transformations/{id}/executions | Get transformation executions |\n| GET | /transformations/{id}/executions/{execution_id} | Get a transformation execution |\n\n### Connections\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /connections | Get connections |\n| POST | /connections | Create a connection |\n| PUT | /connections | Update or create a connection |\n| GET | /connections/count | Count connections |\n| GET | /connections/{id} | Get a single connection |\n| PUT | /connections/{id} | Update a connection |\n| DELETE | /connections/{id} | Delete a connection |\n| PUT | /connections/{id}/disable | Disable a connection |\n| PUT | /connections/{id}/archive | Disable a connection |\n| PUT | /connections/{id}/enable | Enable a connection |\n| PUT | /connections/{id}/unarchive | Enable a connection |\n| PUT | /connections/{id}/pause | Pause a connection |\n| PUT | /connections/{id}/unpause | Unpause a connection |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all issue-triggers?\" -> GET /issue-triggers\n- \"Create a issue-trigger?\" -> POST /issue-triggers\n- \"Get issue-trigger details?\" -> GET /issue-triggers/{id}\n- \"Update a issue-trigger?\" -> PUT /issue-triggers/{id}\n- \"Delete a issue-trigger?\" -> DELETE /issue-triggers/{id}\n- \"List all attempts?\" -> GET /attempts\n- \"Get attempt details?\" -> GET /attempts/{id}\n- \"List all bookmarks?\" -> GET /bookmarks\n- \"Create a bookmark?\" -> POST /bookmarks\n- \"Get bookmark details?\" -> GET /bookmarks/{id}\n- \"Update a bookmark?\" -> PUT /bookmarks/{id}\n- \"Delete a bookmark?\" -> DELETE /bookmarks/{id}\n- \"List all raw_body?\" -> GET /bookmarks/{id}/raw_body\n- \"Create a trigger?\" -> POST /bookmarks/{id}/trigger\n- \"List all destinations?\" -> GET /destinations\n- \"Create a destination?\" -> POST /destinations\n- \"Get destination details?\" -> GET /destinations/{id}\n- \"Update a destination?\" -> PUT /destinations/{id}\n- \"Delete a destination?\" -> DELETE /destinations/{id}\n- \"Search retry?\" -> GET /bulk/events/retry\n- \"Create a retry?\" -> POST /bulk/events/retry\n- \"Search plan?\" -> GET /bulk/events/retry/plan\n- \"Get retry details?\" -> GET /bulk/events/retry/{id}\n- \"Create a cancel?\" -> POST /bulk/events/retry/{id}/cancel\n- \"List all events?\" -> GET /events\n- \"Get event details?\" -> GET /events/{id}\n- \"List all integrations?\" -> GET /integrations\n- \"Create a integration?\" -> POST /integrations\n- \"Get integration details?\" -> GET /integrations/{id}\n- \"Update a integration?\" -> PUT /integrations/{id}\n- \"Delete a integration?\" -> DELETE /integrations/{id}\n- \"Update a attach?\" -> PUT /integrations/{id}/attach/{source_id}\n- \"Update a detach?\" -> PUT /integrations/{id}/detach/{source_id}\n- \"List all issues?\" -> GET /issues\n- \"List all count?\" -> GET /issues/count\n- \"Get issue details?\" -> GET /issues/{id}\n- \"Update a issue?\" -> PUT /issues/{id}\n- \"Delete a issue?\" -> DELETE /issues/{id}\n- \"List all requests?\" -> GET /requests\n- \"Get request details?\" -> GET /requests/{id}\n- \"List all ignored_events?\" -> GET /requests/{id}/ignored_events\n- \"List all sources?\" -> GET /sources\n- \"Create a source?\" -> POST /sources\n- \"Get source details?\" -> GET /sources/{id}\n- \"Update a source?\" -> PUT /sources/{id}\n- \"Delete a source?\" -> DELETE /sources/{id}\n- \"Create a custom_domain?\" -> POST /teams/current/custom_domains\n- \"List all custom_domains?\" -> GET /teams/current/custom_domains\n- \"Delete a custom_domain?\" -> DELETE /teams/current/custom_domains/{domain_id}\n- \"List all transformations?\" -> GET /transformations\n- \"Create a transformation?\" -> POST /transformations\n- \"Get transformation details?\" -> GET /transformations/{id}\n- \"Delete a transformation?\" -> DELETE /transformations/{id}\n- \"Update a transformation?\" -> PUT /transformations/{id}\n- \"List all executions?\" -> GET /transformations/{id}/executions\n- \"Get execution details?\" -> GET /transformations/{id}/executions/{execution_id}\n- \"List all connections?\" -> GET /connections\n- \"Create a connection?\" -> POST /connections\n- \"Get connection details?\" -> GET /connections/{id}\n- \"Update a connection?\" -> PUT /connections/{id}\n- \"Delete a connection?\" -> DELETE /connections/{id}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Paginated endpoints accept limit/offset or cursor parameters\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Hookdeck Admin REST API\n@base https://api.hookdeck.com/2024-09-01\n@version 1.0.0\n@auth Bearer bearer | Bearer basic\n@endpoints 101\n@hint download_for_search\n@toc issue-triggers(8), attempts(2), bookmarks(7), destinations(10), bulk(15), events(5), integrations(7), issues(5), requests(6), sources(10), notifications(1), teams(3), transformations(9), connections(13)\n\n@group issue-triggers\n@endpoint GET /issue-triggers\n@desc Get issue triggers\n@optional {name: str, type: any, disabled_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of issue triggers\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /issue-triggers\n@desc Create an issue trigger\n@required {type: str(delivery/transformation/backpressure) # Issue type, channels: map{slack: map, opsgenie: map, email: map} # Notification channels object for the specific channel type}\n@optional {configs: any # Configuration object for the specific issue type selected, name: str # Optional unique name to use as reference when using the API}\n@returns(200) {id: str, team_id: str?, name: str?, type: str, configs: any, channels: map?{slack: map{channel_name: str}, opsgenie: map, email: map}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time), deleted_at: str(date-time)?} # A single issue trigger\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint PUT /issue-triggers\n@desc Create or update an issue trigger\n@required {type: str(delivery/transformation/backpressure) # Issue type, channels: map{slack: map, opsgenie: map, email: map} # Notification channels object for the specific channel type, name: str # Required unique name to use as reference when using the API}\n@optional {configs: any # Configuration object for the specific issue type selected}\n@returns(200) {id: str, team_id: str?, name: str?, type: str, configs: any, channels: map?{slack: map{channel_name: str}, opsgenie: map, email: map}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time), deleted_at: str(date-time)?} # A single issue trigger\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /issue-triggers/{id}\n@desc Get a single issue trigger\n@required {id: str}\n@returns(200) {id: str, team_id: str?, name: str?, type: str, configs: any, channels: map?{slack: map{channel_name: str}, opsgenie: map, email: map}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time), deleted_at: str(date-time)?} # A single issue trigger\n@errors {404: Not Found}\n\n@endpoint PUT /issue-triggers/{id}\n@desc Update an issue trigger\n@required {id: str}\n@optional {configs: any # Configuration object for the specific issue type selected, channels: map{slack: map, opsgenie: map, email: map} # Notification channels object for the specific channel type, disabled_at: str(date-time) # Date when the issue trigger was disabled, name: str # Optional unique name to use as reference when using the API}\n@returns(200) {id: str, team_id: str?, name: str?, type: str, configs: any, channels: map?{slack: map{channel_name: str}, opsgenie: map, email: map}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time), deleted_at: str(date-time)?} # A single issue trigger\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint DELETE /issue-triggers/{id}\n@desc Delete an issue trigger\n@required {id: str}\n@returns(200) {id: str} # An object with deleted issue trigger's id\n@errors {404: Not Found}\n\n@endpoint PUT /issue-triggers/{id}/disable\n@desc Disable an issue trigger\n@required {id: str}\n@returns(200) {id: str, team_id: str?, name: str?, type: str, configs: any, channels: map?{slack: map{channel_name: str}, opsgenie: map, email: map}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time), deleted_at: str(date-time)?} # A single issue trigger\n@errors {404: Not Found}\n\n@endpoint PUT /issue-triggers/{id}/enable\n@desc Enable an issue trigger\n@required {id: str}\n@returns(200) {id: str, team_id: str?, name: str?, type: str, configs: any, channels: map?{slack: map{channel_name: str}, opsgenie: map, email: map}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time), deleted_at: str(date-time)?} # A single issue trigger\n@errors {404: Not Found}\n\n@endgroup\n\n@group attempts\n@endpoint GET /attempts\n@desc Get attempts\n@optional {event_id: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of attempts\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /attempts/{id}\n@desc Get a single attempt\n@required {id: str}\n@returns(200) {id: str, team_id: str, event_id: str, destination_id: str, response_status: int?, attempt_number: int?, trigger: str?, error_code: str, body: any, requested_url: str?, http_method: str?, bulk_retry_id: str?, status: str, successful_at: str(date-time)?, delivered_at: str(date-time)?, responded_at: str(date-time)?, delivery_latency: int?, response_latency: int?, updated_at: str(date-time), created_at: str(date-time)} # A single attempt\n@errors {404: Not Found}\n\n@endgroup\n\n@group bookmarks\n@endpoint GET /bookmarks\n@desc Get bookmarks\n@optional {id: any, name: any, webhook_id: any, event_data_id: any, label: any, last_used_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of bookmarks\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /bookmarks\n@desc Create a bookmark\n@required {event_data_id: str # ID of the event data to bookmark, webhook_id: str # ID of the associated connection, label: str # Descriptive name of the bookmark}\n@optional {name: str # A unique, human-friendly name for the bookmark}\n@returns(200) {id: str, team_id: str, webhook_id: str, event_data_id: str, label: str, alias: str?, data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}, last_used_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single bookmark\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bookmarks/{id}\n@desc Get a single bookmark\n@required {id: str}\n@returns(200) {id: str, team_id: str, webhook_id: str, event_data_id: str, label: str, alias: str?, data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}, last_used_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single bookmark\n@errors {404: Not Found}\n\n@endpoint PUT /bookmarks/{id}\n@desc Update a bookmark\n@required {id: str}\n@optional {event_data_id: str # ID of the event data to bookmark, webhook_id: str # ID of the associated connection, label: str # Descriptive name of the bookmark, name: str # A unique, human-friendly name for the bookmark}\n@returns(200) {id: str, team_id: str, webhook_id: str, event_data_id: str, label: str, alias: str?, data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}, last_used_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single bookmark\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint DELETE /bookmarks/{id}\n@desc Delete a bookmark\n@required {id: str}\n@returns(200) {id: str} # An object with deleted bookmark's id\n@errors {404: Not Found}\n\n@endpoint GET /bookmarks/{id}/raw_body\n@desc Get a bookmark raw body data\n@required {id: str}\n@returns(200) {body: str} # A request raw body data\n@errors {404: Not Found}\n\n@endpoint POST /bookmarks/{id}/trigger\n@desc Trigger a bookmark\n@required {id: str}\n@optional {target: str(http/cli) # Bookmark target}\n@returns(200) Array of created events\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endgroup\n\n@group destinations\n@endpoint GET /destinations\n@desc Get destinations\n@optional {id: any, name: any, disabled: bool, disabled_at: any, url: any, cli_path: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of destinations\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /destinations\n@desc Create a destination\n@required {name: str # Name for the destination}\n@optional {description: str # Description for the destination, url: str(URL) # Endpoint of the destination, cli_path: str # Path for the CLI destination, rate_limit: int # Limit of events to receive per period. Refered as Delivery Rate limit in the dashboard and documentation., rate_limit_period: str(second/minute/hour/concurrent) # Period to rate limit events by. Refered as Delivery Rate period in the dashboard and documentation., http_method: str(GET/POST/PUT/PATCH/DELETE) # HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source., auth_method: any # Config for the destination's auth method, path_forwarding_disabled: bool}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint PUT /destinations\n@desc Update or create a destination\n@required {name: str # Name for the destination}\n@optional {description: str # Description for the destination, url: str(URL) # Endpoint of the destination, cli_path: str # Path for the CLI destination, rate_limit: int # Limit of events to receive per period. Refered as Delivery Rate limit in the dashboard and documentation., rate_limit_period: str(second/minute/hour/concurrent) # Period to rate limit events by. Refered as Delivery Rate period in the dashboard and documentation., http_method: str(GET/POST/PUT/PATCH/DELETE) # HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source., auth_method: any # Config for the destination's auth method, path_forwarding_disabled: bool}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /destinations/{id}\n@desc Get a destination\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {404: Not Found, 410: Gone}\n\n@endpoint PUT /destinations/{id}\n@desc Update a destination\n@required {id: str}\n@optional {name: str # Name for the destination, description: str # Description for the destination, url: str(URL) # Endpoint of the destination, cli_path: str # Path for the CLI destination, rate_limit: int # Limit of events to receive per period. Refered as Delivery Rate limit in the dashboard and documentation., rate_limit_period: str(second/minute/hour/concurrent) # Period to rate limit events by. Refered as Delivery Rate period in the dashboard and documentation., http_method: str(GET/POST/PUT/PATCH/DELETE) # HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source., auth_method: any # Config for the destination's auth method, path_forwarding_disabled: bool}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint DELETE /destinations/{id}\n@desc Delete a destination\n@required {id: str}\n@returns(200) {id: str} # A single destination\n@errors {404: Not Found}\n\n@endpoint PUT /destinations/{id}/disable\n@desc Disable a destination\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {404: Not Found}\n\n@endpoint PUT /destinations/{id}/archive\n@desc Disable a destination\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {404: Not Found}\n\n@endpoint PUT /destinations/{id}/enable\n@desc Enable a destination\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {404: Not Found}\n\n@endpoint PUT /destinations/{id}/unarchive\n@desc Enable a destination\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single destination\n@errors {404: Not Found}\n\n@endgroup\n\n@group bulk\n@endpoint GET /bulk/events/retry\n@desc Get events bulk retries\n@optional {cancelled_at: any, completed_at: any, created_at: any, id: any, query: map, query_partial_match: bool, in_progress: bool, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of events bulk retries\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /bulk/events/retry\n@desc Create an events bulk retry\n@optional {query: map{id: any, status: any, webhook_id: any, destination_id: any, source_id: any, attempts: any, response_status: any, successful_at: any, created_at: any, error_code: any, cli_id: any, last_attempt_at: any, search_term: str, headers: any, body: any, parsed_query: any, path: str, cli_user_id: any, issue_id: any, event_data_id: any, bulk_retry_id: any} # Filter properties for the events to be included in the bulk retry}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single events bulk retry\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bulk/events/retry/plan\n@desc Generate an events bulk retry plan\n@optional {query: map}\n@returns(200) {estimated_batch: int?, estimated_count: int?, progress: num(float)?} # Events bulk retry plan\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bulk/events/retry/{id}\n@desc Get an events bulk retry\n@required {id: str}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single events bulk retry\n@errors {404: Not Found}\n\n@endpoint POST /bulk/events/retry/{id}/cancel\n@desc Cancel an events bulk retry\n@required {id: str}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single events bulk retry\n@errors {404: Not Found}\n\n@endgroup\n\n@group events\n@endpoint GET /events\n@desc Get events\n@optional {id: any, status: any, webhook_id: any, destination_id: any, source_id: any, attempts: any, response_status: any, successful_at: any, created_at: any, error_code: any, cli_id: any, last_attempt_at: any, search_term: str, headers: any, body: any, parsed_query: any, path: str, cli_user_id: any, issue_id: any, event_data_id: any, bulk_retry_id: any, include: str, order_by: str(last_attempt_at/created_at), dir: str(asc/desc), limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of events\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /events/{id}\n@desc Get an event\n@required {id: str}\n@returns(200) {id: str, team_id: str, webhook_id: str, source_id: str, destination_id: str, event_data_id: str, request_id: str, attempts: int, last_attempt_at: str(date-time)?, next_attempt_at: str(date-time)?, response_status: int?, error_code: str, status: str, successful_at: str(date-time)?, cli_id: str?, updated_at: str(date-time), created_at: str(date-time), data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}} # A single event\n@errors {404: Not Found}\n\n@endpoint GET /events/{id}/raw_body\n@desc Get a event raw body data\n@required {id: str}\n@returns(200) {body: str} # A request raw body data\n@errors {404: Not Found}\n\n@endpoint POST /events/{id}/retry\n@desc Retry an event\n@required {id: str}\n@returns(200) {id: str, team_id: str, webhook_id: str, source_id: str, destination_id: str, event_data_id: str, request_id: str, attempts: int, last_attempt_at: str(date-time)?, next_attempt_at: str(date-time)?, response_status: int?, error_code: str, status: str, successful_at: str(date-time)?, cli_id: str?, updated_at: str(date-time), created_at: str(date-time), data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}} # Retried event with event attempt\n@errors {404: Not Found}\n\n@endpoint PUT /events/{id}/mute\n@desc Mute an event\n@required {id: str}\n@returns(200) {id: str, team_id: str, webhook_id: str, source_id: str, destination_id: str, event_data_id: str, request_id: str, attempts: int, last_attempt_at: str(date-time)?, next_attempt_at: str(date-time)?, response_status: int?, error_code: str, status: str, successful_at: str(date-time)?, cli_id: str?, updated_at: str(date-time), created_at: str(date-time), data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}} # A single event\n@errors {404: Not Found}\n\n@endgroup\n\n@group bulk\n@endpoint GET /bulk/ignored-events/retry\n@desc Get ignored events bulk retries\n@optional {cancelled_at: any, completed_at: any, created_at: any, id: any, query: map, query_partial_match: bool, in_progress: bool, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of ignored events bulk retries\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /bulk/ignored-events/retry\n@desc Create an ignored events bulk retry\n@optional {query: map{cause: any, webhook_id: any, transformation_id: str} # Filter by the bulk retry ignored event query object}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single ignored events bulk retry\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bulk/ignored-events/retry/plan\n@desc Generate an ignored events bulk retry plan\n@optional {query: map}\n@returns(200) {estimated_batch: int?, estimated_count: int?, progress: num(float)?} # Ignored events bulk retry plan\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bulk/ignored-events/retry/{id}\n@desc Get an ignored events bulk retry\n@required {id: str}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single ignored events bulk retry\n@errors {404: Not Found}\n\n@endpoint POST /bulk/ignored-events/retry/{id}/cancel\n@desc Cancel an ignored events bulk retry\n@required {id: str}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single ignored events bulk retry\n@errors {404: Not Found}\n\n@endgroup\n\n@group integrations\n@endpoint GET /integrations\n@desc Get integrations\n@optional {label: str, provider: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of integrations\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /integrations\n@desc Create an integration\n@optional {label: str # Label of the integration, configs: any # Decrypted Key/Value object of the associated configuration for that provider, provider: str(HMAC/BASIC_AUTH/API_KEY/BRIDGE/CLOUDSIGNAL/COURIER/FRONTAPP/TWITTER/STRIPE/RECHARGE/TWILIO/GITHUB/SHOPIFY/POSTMARK/TYPEFORM/XERO/SVIX/ZOOM/AKENEO/ADYEN/GITLAB/PROPERTY-FINDER/WOOCOMMERCE/OURA/COMMERCELAYER/HUBSPOT/MAILGUN/PERSONA/PIPEDRIVE/SENDGRID/WORKOS/SYNCTERA/AWS_SNS/THREE_D_EYE/TWITCH/ENODE/FAVRO/LINEAR/SHOPLINE/WIX/NMI/ORB/PYLON/REPAY/SQUARE/SOLIDGATE/TRELLO/SANITY/EBAY/TELNYX/DISCORD/TOKENIO/FISERV/BONDSMITH/VERCEL_LOG_DRAINS/VERCEL/TEBEX/SLACK/RAZORPAY/MAILCHIMP/PADDLE/PAYPAL/TREEZOR/PRAXIS), features: [str] # List of features to enable (see features list above)}\n@returns(200) {id: str, team_id: str, label: str, provider: str, features: [str], configs: any, sources: [str], updated_at: str(date-time), created_at: str(date-time)} # A single integration\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /integrations/{id}\n@desc Get an integration\n@required {id: str}\n@returns(200) {id: str, team_id: str, label: str, provider: str, features: [str], configs: any, sources: [str], updated_at: str(date-time), created_at: str(date-time)} # A single integration\n@errors {404: Not Found}\n\n@endpoint PUT /integrations/{id}\n@desc Update an integration\n@required {id: str}\n@optional {label: str # Label of the integration, configs: any # Decrypted Key/Value object of the associated configuration for that provider, provider: str(HMAC/BASIC_AUTH/API_KEY/BRIDGE/CLOUDSIGNAL/COURIER/FRONTAPP/TWITTER/STRIPE/RECHARGE/TWILIO/GITHUB/SHOPIFY/POSTMARK/TYPEFORM/XERO/SVIX/ZOOM/AKENEO/ADYEN/GITLAB/PROPERTY-FINDER/WOOCOMMERCE/OURA/COMMERCELAYER/HUBSPOT/MAILGUN/PERSONA/PIPEDRIVE/SENDGRID/WORKOS/SYNCTERA/AWS_SNS/THREE_D_EYE/TWITCH/ENODE/FAVRO/LINEAR/SHOPLINE/WIX/NMI/ORB/PYLON/REPAY/SQUARE/SOLIDGATE/TRELLO/SANITY/EBAY/TELNYX/DISCORD/TOKENIO/FISERV/BONDSMITH/VERCEL_LOG_DRAINS/VERCEL/TEBEX/SLACK/RAZORPAY/MAILCHIMP/PADDLE/PAYPAL/TREEZOR/PRAXIS), features: [str] # List of features to enable (see features list above)}\n@returns(200) {id: str, team_id: str, label: str, provider: str, features: [str], configs: any, sources: [str], updated_at: str(date-time), created_at: str(date-time)} # A single integration\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint DELETE /integrations/{id}\n@desc Delete an integration\n@required {id: str}\n@returns(200) {id: str} # An object with deleted integration id\n@errors {404: Not Found}\n\n@endpoint PUT /integrations/{id}/attach/{source_id}\n@desc Attach an integration to a source\n@required {id: str, source_id: str}\n@returns(200) {success: bool} # Attach operation success status\n@errors {400: Bad Request, 404: Not Found}\n\n@endpoint PUT /integrations/{id}/detach/{source_id}\n@desc Detach an integration from a source\n@required {id: str, source_id: str}\n@returns(200) Detach operation success status\n@errors {400: Bad Request, 404: Not Found}\n\n@endgroup\n\n@group issues\n@endpoint GET /issues\n@desc Get issues\n@optional {id: any, issue_trigger_id: any, type: any, status: any, merged_with: any, aggregation_keys: map, created_at: any, first_seen_at: any, last_seen_at: any, dismissed_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [any]} # List of issues\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /issues/count\n@desc Get the number of issues\n@optional {id: any, issue_trigger_id: any, type: any, status: any, merged_with: any, aggregation_keys: map, created_at: any, first_seen_at: any, last_seen_at: any, dismissed_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {count: int} # Issue count\n@errors {422: Unprocessable Entity}\n\n@endpoint GET /issues/{id}\n@desc Get a single issue\n@required {id: str}\n@returns(200) A single issue\n@errors {404: Not Found}\n\n@endpoint PUT /issues/{id}\n@desc Update issue\n@required {id: str, status: str(OPENED/IGNORED/ACKNOWLEDGED/RESOLVED) # New status}\n@returns(200) Updated issue\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint DELETE /issues/{id}\n@desc Dismiss an issue\n@required {id: str}\n@returns(200) Dismissed issue\n@errors {404: Not Found}\n\n@endgroup\n\n@group requests\n@endpoint GET /requests\n@desc Get requests\n@optional {id: any, status: str(accepted/rejected), rejection_cause: any, source_id: any, verified: bool, search_term: str, headers: any, body: any, parsed_query: any, path: str, ignored_count: any, events_count: any, ingested_at: any, bulk_retry_id: any, include: str, order_by: str(ingested_at/created_at), dir: str(asc/desc), limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of requests\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /requests/{id}\n@desc Get a request\n@required {id: str}\n@returns(200) {id: str, team_id: str, verified: bool?, original_event_data_id: str?, rejection_cause: str, ingest_priority: str?, ingested_at: str(date-time)?, source_id: str, events_count: int?, cli_events_count: int?, ignored_count: int?, updated_at: str(date-time), created_at: str(date-time), data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}} # A single request\n@errors {404: Not Found}\n\n@endpoint GET /requests/{id}/raw_body\n@desc Get a request raw body data\n@required {id: str}\n@returns(200) {body: str} # A request raw body data\n@errors {404: Not Found}\n\n@endpoint POST /requests/{id}/retry\n@desc Retry a request\n@required {id: str, webhook_ids: [str] # Subset of webhook_ids to re-run the event logic on. Useful to retry only specific ignored_events}\n@returns(200) {request: map{id: str, team_id: str, verified: bool?, original_event_data_id: str?, rejection_cause: str, ingest_priority: str?, ingested_at: str(date-time)?, source_id: str, events_count: int?, cli_events_count: int?, ignored_count: int?, updated_at: str(date-time), created_at: str(date-time), data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}}, events: [map]?} # Retry request operation result\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint GET /requests/{id}/events\n@desc Get request events\n@required {id: str}\n@optional {id: any, status: any, webhook_id: any, destination_id: any, source_id: any, attempts: any, response_status: any, successful_at: any, created_at: any, error_code: any, cli_id: any, last_attempt_at: any, search_term: str, headers: any, body: any, parsed_query: any, path: str, cli_user_id: any, issue_id: any, event_data_id: any, bulk_retry_id: any, include: str, order_by: str(last_attempt_at/created_at), dir: str(asc/desc), limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of events\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint GET /requests/{id}/ignored_events\n@desc Get request ignored events\n@required {id: str}\n@optional {id: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of ignored events\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endgroup\n\n@group bulk\n@endpoint GET /bulk/requests/retry\n@desc Get request bulk retries\n@optional {cancelled_at: any, completed_at: any, created_at: any, id: any, in_progress: bool, query: map, query_partial_match: bool, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of request bulk retries\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /bulk/requests/retry\n@desc Create a requests bulk retry\n@optional {query: map{id: any, status: str, rejection_cause: any, source_id: any, verified: bool, search_term: str, headers: any, body: any, parsed_query: any, path: str, ignored_count: any, events_count: any, ingested_at: any, bulk_retry_id: any} # Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single requests bulk retry\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bulk/requests/retry/plan\n@desc Generate a requests bulk retry plan\n@optional {query: map}\n@returns(200) {estimated_batch: int?, estimated_count: int?, progress: num(float)?} # Requests bulk retry plan\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /bulk/requests/retry/{id}\n@desc Get a requests bulk retry\n@required {id: str}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single requests bulk retry\n@errors {404: Not Found}\n\n@endpoint POST /bulk/requests/retry/{id}/cancel\n@desc Cancel a requests bulk retry\n@required {id: str}\n@returns(200) {id: str, team_id: str, query: any?, created_at: str(date-time), updated_at: str(date-time), cancelled_at: str(date-time)?, completed_at: str(date-time)?, estimated_batch: int?, estimated_count: int?, processed_batch: int?, completed_count: int?, in_progress: bool, progress: num(float)?, failed_count: int?, number: num(float)?} # A single requests bulk retry\n@errors {404: Not Found}\n\n@endgroup\n\n@group sources\n@endpoint GET /sources\n@desc Get sources\n@optional {id: any, name: any, disabled: bool, disabled_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of sources\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /sources\n@desc Create a source\n@required {name: str # A unique name for the source}\n@optional {description: str # Description for the source, allowed_http_methods: [str] # List of allowed HTTP methods. Defaults to PUT, POST, PATCH, DELETE., custom_response: map{content_type!: str, body!: str} # Custom response object, verification: any # The verification configs for the specified verification type}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint PUT /sources\n@desc Update or create a source\n@required {name: str # A unique name for the source}\n@optional {description: str # Description for the source, allowed_http_methods: [str] # List of allowed HTTP methods. Defaults to PUT, POST, PATCH, DELETE., custom_response: map{content_type!: str, body!: str} # Custom response object, verification: any # The verification configs for the specified verification type}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /sources/{id}\n@desc Get a source\n@required {id: str}\n@optional {include: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {404: Not Found, 410: Gone}\n\n@endpoint PUT /sources/{id}\n@desc Update a source\n@required {id: str}\n@optional {name: str # A unique name for the source, description: str # Description for the source, allowed_http_methods: [str] # List of allowed HTTP methods. Defaults to PUT, POST, PATCH, DELETE., custom_response: map{content_type!: str, body!: str} # Custom response object, verification: any # The verification configs for the specified verification type}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint DELETE /sources/{id}\n@desc Delete a source\n@required {id: str}\n@returns(200) {id: str} # A single source\n@errors {404: Not Found}\n\n@endpoint PUT /sources/{id}/disable\n@desc Disable a source\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {404: Not Found}\n\n@endpoint PUT /sources/{id}/archive\n@desc Disable a source\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {404: Not Found}\n\n@endpoint PUT /sources/{id}/enable\n@desc Enable a source\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {404: Not Found}\n\n@endpoint PUT /sources/{id}/unarchive\n@desc Enable a source\n@required {id: str}\n@returns(200) {id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single source\n@errors {404: Not Found}\n\n@endgroup\n\n@group notifications\n@endpoint PUT /notifications/webhooks\n@desc Toggle webhook notifications for the project\n@optional {enabled: bool # Enable or disable webhook notifications on the project, topics: [str] # List of topics to send notifications for, source_id: str # The Hookdeck Source to send the webhook to}\n@returns(200) {enabled: bool, topics: [str]?, source_id: str} # Toggle operation status response\n\n@endgroup\n\n@group teams\n@endpoint POST /teams/current/custom_domains\n@desc Add a custom domain to the project\n@required {hostname: str # The custom hostname to attach to the project}\n@returns(200) {hostname: str} # Custom domain successfuly added\n\n@endpoint GET /teams/current/custom_domains\n@desc List all custom domains and their verification statuses for the project\n@returns(200) List of custom domains\n\n@endpoint DELETE /teams/current/custom_domains/{domain_id}\n@desc Removes a custom domain from the project\n@required {domain_id: str}\n@returns(200) {id: str} # Custom domain successfuly removed\n\n@endgroup\n\n@group transformations\n@endpoint GET /transformations\n@desc Get transformations\n@optional {id: any, name: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of transformations\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /transformations\n@desc Create a transformation\n@required {name: str # A unique, human-friendly name for the transformation, code: str # JavaScript code to be executed as string}\n@optional {env: map{} # Key-value environment variables to be passed to the transformation}\n@returns(200) {id: str, team_id: str, name: str, code: str, encrypted_env: str?, iv: str?, env: map?, updated_at: str(date-time), created_at: str(date-time)} # A single transformation\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint PUT /transformations\n@desc Update or create a transformation\n@required {name: str # A unique, human-friendly name for the transformation, code: str # JavaScript code to be executed as string}\n@optional {env: map{} # Key-value environment variables to be passed to the transformation}\n@returns(200) {id: str, team_id: str, name: str, code: str, encrypted_env: str?, iv: str?, env: map?, updated_at: str(date-time), created_at: str(date-time)} # A single transformation\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /transformations/{id}\n@desc Get a transformation\n@required {id: str}\n@returns(200) {id: str, team_id: str, name: str, code: str, encrypted_env: str?, iv: str?, env: map?, updated_at: str(date-time), created_at: str(date-time)} # A single transformation\n@errors {404: Not Found}\n\n@endpoint DELETE /transformations/{id}\n@desc Delete a transformation\n@required {id: str}\n@returns(200) {id: str} # An object with deleted transformation id\n@errors {404: Not Found}\n\n@endpoint PUT /transformations/{id}\n@desc Update a transformation\n@required {id: str}\n@optional {name: str # A unique, human-friendly name for the transformation, code: str # JavaScript code to be executed, env: map{} # Key-value environment variables to be passed to the transformation}\n@returns(200) {id: str, team_id: str, name: str, code: str, encrypted_env: str?, iv: str?, env: map?, updated_at: str(date-time), created_at: str(date-time)} # A single transformation\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint PUT /transformations/run\n@desc Test a transformation code\n@optional {env: map{} # Key-value environment variables to be passed to the transformation, webhook_id: str # ID of the connection to use for the execution `context`, code: str # JavaScript code to be executed, transformation_id: str # Transformation ID, request: map{headers!: map, body: any, path: str, query: str, parsed_query: map} # Request input to use for the transformation execution, event_id: str}\n@returns(200) {request_id: str?, transformation_id: str?, execution_id: str?, log_level: str, request: map?{headers: any?, path: str, query: any?, parsed_query: any?, body: any?}, console: [map]?} # Transformation run output\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /transformations/{id}/executions\n@desc Get transformation executions\n@required {id: str}\n@optional {log_level: any, webhook_id: any, issue_id: any, created_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of transformation executions\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /transformations/{id}/executions/{execution_id}\n@desc Get a transformation execution\n@required {id: str, execution_id: str}\n@returns(200) {id: str, transformed_event_data_id: str, original_event_data_id: str, transformation_id: str, team_id: str, webhook_id: str, log_level: str, logs: [map], updated_at: str(date-time), created_at: str(date-time), original_event_data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}, transformed_event_data: map?{path: str, query: str?, parsed_query: any?, headers: any?, body: any?, is_large_payload: bool?}, issue_id: str?} # A single transformation execution\n@errors {404: Not Found}\n\n@endgroup\n\n@group connections\n@endpoint GET /connections\n@desc Get connections\n@optional {id: any, name: any, destination_id: any, source_id: any, disabled: bool, disabled_at: any, full_name: str, paused_at: any, order_by: any, dir: any, limit: int, next: str, prev: str}\n@returns(200) {pagination: map{order_by: any, dir: any, limit: int, prev: str, next: str}, count: int, models: [map]} # List of connections\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint POST /connections\n@desc Create a connection\n@optional {name: str # A unique name of the connection for the source, description: str # Description for the connection, destination_id: str # ID of a destination to bind to the connection, source_id: str # ID of a source to bind to the connection, destination: map{name!: str, description: str, url: str(URL), cli_path: str, rate_limit: int, rate_limit_period: str, http_method: str, auth_method: any, path_forwarding_disabled: bool} # Destination input object, source: map{name!: str, description: str, allowed_http_methods: [str], custom_response: map, verification: any} # Source input object, rules: [any]}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint PUT /connections\n@desc Update or create a connection\n@optional {name: str # A unique name of the connection for the source, description: str # Description for the connection, destination_id: str # ID of a destination to bind to the connection, source_id: str # ID of a source to bind to the connection, destination: map{name!: str, description: str, url: str(URL), cli_path: str, rate_limit: int, rate_limit_period: str, http_method: str, auth_method: any, path_forwarding_disabled: bool} # Destination input object, source: map{name!: str, description: str, allowed_http_methods: [str], custom_response: map, verification: any} # Source input object, rules: [any]}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /connections/count\n@desc Count connections\n@optional {destination_id: any, source_id: any, disabled: bool, disabled_at: any, paused_at: any}\n@returns(200) {count: num(float)} # Count of connections\n@errors {400: Bad Request, 422: Unprocessable Entity}\n\n@endpoint GET /connections/{id}\n@desc Get a single connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found, 410: Gone}\n\n@endpoint PUT /connections/{id}\n@desc Update a connection\n@required {id: str}\n@optional {name: str, description: str # Description for the connection, rules: [any]}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {400: Bad Request, 404: Not Found, 422: Unprocessable Entity}\n\n@endpoint DELETE /connections/{id}\n@desc Delete a connection\n@required {id: str}\n@returns(200) {id: str} # A single connection\n@errors {404: Not Found}\n\n@endpoint PUT /connections/{id}/disable\n@desc Disable a connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found}\n\n@endpoint PUT /connections/{id}/archive\n@desc Disable a connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found}\n\n@endpoint PUT /connections/{id}/enable\n@desc Enable a connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found}\n\n@endpoint PUT /connections/{id}/unarchive\n@desc Enable a connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found}\n\n@endpoint PUT /connections/{id}/pause\n@desc Pause a connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found}\n\n@endpoint PUT /connections/{id}/unpause\n@desc Unpause a connection\n@required {id: str}\n@returns(200) {id: str, name: str?, full_name: str?, description: str?, team_id: str, destination: map{id: str, name: str, description: str?, team_id: str, path_forwarding_disabled: bool?, url: str(URL)?, cli_path: str?, rate_limit: int?, rate_limit_period: str?, http_method: str?, auth_method: any, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, source: map{id: str, name: str, description: str?, team_id: str, url: str(URL), verification: any?, allowed_http_methods: [str]?, custom_response: map?{content_type: str, body: str}, disabled_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)}, rules: [any]?, disabled_at: str(date-time)?, paused_at: str(date-time)?, updated_at: str(date-time), created_at: str(date-time)} # A single connection\n@errors {404: Not Found}\n\n@endgroup\n\n@end\n"}}