openapi: 3.2.0 info: title: Data sent by webhooks Survey Invitation API version: 1.0.0 license: name: Forsta identifier: Forsta url: http://forsta.com description: 'Data sent by webhooks # Signed payload During creation of a webhook there is an option to send payload signed.' servers: - url: CLIENT SERVER URL description: Panel Management servers tags: - name: Survey Invitation description: Endpoints related to survey invitations paths: /webhookSurveyInvitationEvents: post: operationId: webhookSurveyInvitationEvents security: - signedPayloadAuth: [] summary: Payload format for events about survey invitations tags: - Survey Invitation requestBody: required: true content: application/json: schema: type: array items: type: object properties: identifier: type: string description: Request identifier timestamp: type: integer description: Timestamp of the request panel_id: type: integer description: Panel ID related to the event event: type: string description: Event name, possible option 'survey-invitation' project_id: type: integer description: Project ID started_at: type: integer description: For invitations always has value "null" status: type: string description: Status of the survey invitation event_id: type: integer description: Event ID example: - identifier: req123 timestamp: 1724359389 panel_id: 1 event: survey-invitation project_id: 1 started_at: null status: invited event_id: 123123 components: securitySchemes: signedPayloadAuth: type: apiKey in: header name: X-KP-Webhook-Signature description: 'Security scheme for signed payloads. Include a signature of the payload in the "X-KP-Webhook-Signature" header. ' x-tagGroups: - name: Data sent by webhooks tags: - Panelists - Survey Activity - Survey Invitation