openapi: 3.1.0 info: title: Givebutter Campaigns Webhooks API version: 1.0.0 description: 'Best-effort OpenAPI 3.1 description of the Givebutter REST API covering campaigns, contacts, transactions, funds, households, tickets, plans, payouts, pledges, webhooks, and discount codes. Authentication uses Bearer-token authentication with an API key. Sourced from https://docs.givebutter.com/. ' contact: name: Givebutter API Docs url: https://docs.givebutter.com/reference/reference-getting-started servers: - url: https://api.givebutter.com/v1 description: Production security: - bearerAuth: [] tags: - name: Webhooks paths: /webhooks: get: summary: List webhooks operationId: listWebhooks tags: - Webhooks responses: '200': description: Webhooks content: application/json: schema: type: array items: $ref: '#/components/schemas/Webhook' post: summary: Create a webhook operationId: createWebhook tags: - Webhooks requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Webhook' responses: '201': description: Created /webhooks/{id}: parameters: - $ref: '#/components/parameters/IdInt' delete: summary: Delete a webhook operationId: deleteWebhook tags: - Webhooks responses: '204': description: Deleted components: parameters: IdInt: in: path name: id required: true schema: type: integer schemas: Webhook: type: object properties: id: type: integer url: type: string format: uri events: type: array items: type: string active: type: boolean securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: API Key description: Bearer token authentication using a personal API key.