openapi: 3.1.0 info: title: Fulcrum Audio Webhooks API description: The Fulcrum API is a RESTful HTTP API for the Fulcrum field data collection platform. It provides programmatic access to forms, records, media (photos, videos, audio, signatures), choice lists, classification sets, projects, layers, memberships, roles, webhooks, ad hoc query and SQL execution, and changesets. Requests and responses use JSON and authenticate with an X-ApiToken header issued from a Fulcrum account. version: 0.0.1 contact: name: Fulcrum url: https://www.fulcrumapp.com/ servers: - url: https://api.fulcrumapp.com/api/v2 description: Fulcrum production API (v2) security: - ApiToken: [] tags: - name: Webhooks description: Outbound webhooks for record and form events paths: /webhooks.json: get: tags: - Webhooks summary: List webhooks operationId: listWebhooks responses: '200': description: Webhooks content: application/json: schema: type: object properties: webhooks: type: array items: $ref: '#/components/schemas/Webhook' post: tags: - Webhooks summary: Create webhook operationId: createWebhook requestBody: required: true content: application/json: schema: type: object properties: webhook: $ref: '#/components/schemas/Webhook' responses: '200': description: Webhook created content: application/json: schema: type: object properties: webhook: $ref: '#/components/schemas/Webhook' /webhooks/{id}.json: parameters: - $ref: '#/components/parameters/IdPath' get: tags: - Webhooks summary: Get webhook operationId: getWebhook responses: '200': description: Webhook content: application/json: schema: type: object properties: webhook: $ref: '#/components/schemas/Webhook' put: tags: - Webhooks summary: Update webhook operationId: updateWebhook requestBody: required: true content: application/json: schema: type: object properties: webhook: $ref: '#/components/schemas/Webhook' responses: '200': description: Webhook updated content: application/json: schema: type: object properties: webhook: $ref: '#/components/schemas/Webhook' delete: tags: - Webhooks summary: Delete webhook operationId: deleteWebhook responses: '204': description: Webhook deleted components: parameters: IdPath: name: id in: path required: true description: Resource identifier (UUID) schema: type: string format: uuid schemas: Webhook: type: object properties: id: type: string format: uuid url: type: string format: uri active: type: boolean events: type: array items: type: string securitySchemes: ApiToken: type: apiKey in: header name: X-ApiToken description: Fulcrum API token issued from a Fulcrum account