Regal · Capability

Regal Events API — Events

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.

Regal Events API — Events is a Naftiko capability published by Regal, one of 8 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/events.

The capability includes 1 state-changing operation. Lead operation: Create or update a Regal contact and record a custom event on its profile. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Regal, Events, and Contacts.

Run with Naftiko RegalEventsContacts

What You Can Do

POST
Postcustomevent — Post a custom event.
/v1/events

MCP Tools

regal-post-custom-event

Create or update a Regal contact and record a custom event on its profile.

Capability Spec

events-events.yaml Raw ↑
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: $.