naftiko: 1.0.0-alpha2 info: label: Regal Events API — Events description: Regal Events API — Custom Events ingest. One operation that creates or updates a contact and records an event. Self-contained Naftiko capability covering the Regal Events surface. tags: - Regal - Events - Contacts created: '2026-05-24' modified: '2026-05-24' binds: - namespace: env keys: REGAL_API_KEY: REGAL_API_KEY capability: consumes: - type: http namespace: events-events baseUri: https://events.regalvoice.com description: Regal Events API custom events ingest capability. resources: - name: events path: /events operations: - name: postcustomevent method: POST description: Post a custom event that creates or updates a contact and records the event on its profile. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Custom event payload (userId, traits, name, properties, originalTimestamp, eventSource). required: true authentication: type: apikey key: Authorization value: '{{env.REGAL_API_KEY}}' placement: header exposes: - type: rest namespace: events-events-rest port: 8080 description: REST adapter for the Regal Events API. resources: - path: /v1/events name: events description: REST surface for /events ingest. operations: - method: POST name: postcustomevent description: Post a custom event. call: events-events.postcustomevent with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: events-events-mcp port: 9090 transport: http description: MCP adapter for the Regal Events API. tools: - name: regal-post-custom-event description: Create or update a Regal contact and record a custom event on its profile. hints: readOnly: false destructive: false idempotent: false call: events-events.postcustomevent with: body: tools.body outputParameters: - type: object mapping: $.