Synctera · Capability

Synctera API — Webhooks

Synctera API — Webhooks. 9 operations. Lead operation: List webhooks. Self-contained Naftiko capability covering one Synctera business surface.

Run with Naftiko SyncteraWebhooks

What You Can Do

GET
Listwebhooks1 — List webhooks
/v1/webhooks
POST
Createwebhook1 — Create a webhook
/v1/webhooks
POST
Triggerevent — Trigger an event
/v1/webhooks/trigger
DELETE
Deletewebhook — Delete a webhook
/v1/webhooks/{webhook-id}
GET
Getwebhook1 — Get a webhook
/v1/webhooks/{webhook-id}
PUT
Updatewebhook — Update a webhook
/v1/webhooks/{webhook-id}
GET
Listevents — List webhook events
/v1/webhooks/{webhook-id}/events
GET
Getevent — Get webhook event
/v1/webhooks/{webhook-id}/events/{event-id}
POST
Resendevent — Resend an event
/v1/webhooks/{webhook-id}/events/{event-id}/resend

MCP Tools

list-webhooks

List webhooks

read-only idempotent
create-webhook

Create a webhook

trigger-event

Trigger an event

delete-webhook

Delete a webhook

idempotent
get-webhook

Get a webhook

read-only idempotent
update-webhook

Update a webhook

idempotent
list-webhook-events

List webhook events

read-only idempotent
get-webhook-event

Get webhook event

read-only idempotent
resend-event

Resend an event

Capability Spec

synctera-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Synctera API — Webhooks
  description: 'Synctera API — Webhooks. 9 operations. Lead operation: List webhooks. Self-contained Naftiko capability covering
    one Synctera business surface.'
  tags:
  - Synctera
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SYNCTERA_API_KEY: SYNCTERA_API_KEY
capability:
  consumes:
  - type: http
    namespace: synctera-webhooks
    baseUri: https://api.synctera.com/v0
    description: Synctera API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: webhooks
      path: /webhooks
      operations:
      - name: listwebhooks1
        method: GET
        description: List webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: is_enabled_only
          in: query
          type: boolean
      - name: createwebhook1
        method: POST
        description: Create a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: webhooks-trigger
      path: /webhooks/trigger
      operations:
      - name: triggerevent
        method: POST
        description: Trigger an event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: webhooks-webhook_id
      path: /webhooks/{webhook_id}
      operations:
      - name: deletewebhook
        method: DELETE
        description: Delete a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getwebhook1
        method: GET
        description: Get a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatewebhook
        method: PUT
        description: Update a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: webhooks-webhook_id-events
      path: /webhooks/{webhook_id}/events
      operations:
      - name: listevents
        method: GET
        description: List webhook events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_date
          in: query
          type: string
          description: Start date of date range filtering for events. Date is inclusive and should be in UTC timezone 00:00:00..
            start_date is alias of start_time and is deprecated. P
        - name: end_date
          in: query
          type: string
          description: 'End date of date range filtering for events. Date is inclusive and should be in UTC timezone 00:00:00..
            end_date is alias of end_time and is deprecated. Please '
        - name: start_time
          in: query
          type: string
          description: Start time of date-time range filtering for events. Date is inclusive and should be in UTC timezone
            00:00:00.
        - name: end_time
          in: query
          type: string
          description: End time of date-time range filtering for events. Date is inclusive and should be in UTC timezone 00:00:00.
    - name: webhooks-webhook_id-events-event_id
      path: /webhooks/{webhook_id}/events/{event_id}
      operations:
      - name: getevent
        method: GET
        description: Get webhook event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          description: Webhook event ID
          required: true
    - name: webhooks-webhook_id-events-event_id-resend
      path: /webhooks/{webhook_id}/events/{event_id}/resend
      operations:
      - name: resendevent
        method: POST
        description: Resend an event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          description: Webhook event ID
          required: true
        - name: delay
          in: query
          type: integer
          description: Delay the event triggering in seconds
    authentication:
      type: bearer
      token: '{{env.SYNCTERA_API_KEY}}'
  exposes:
  - type: rest
    namespace: synctera-webhooks-rest
    port: 8080
    description: REST adapter for Synctera API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/webhooks
      name: webhooks
      description: REST surface for webhooks.
      operations:
      - method: GET
        name: listwebhooks1
        description: List webhooks
        call: synctera-webhooks.listwebhooks1
        with:
          is_enabled_only: rest.is_enabled_only
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createwebhook1
        description: Create a webhook
        call: synctera-webhooks.createwebhook1
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/trigger
      name: webhooks-trigger
      description: REST surface for webhooks-trigger.
      operations:
      - method: POST
        name: triggerevent
        description: Trigger an event
        call: synctera-webhooks.triggerevent
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/{webhook-id}
      name: webhooks-webhook-id
      description: REST surface for webhooks-webhook_id.
      operations:
      - method: DELETE
        name: deletewebhook
        description: Delete a webhook
        call: synctera-webhooks.deletewebhook
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getwebhook1
        description: Get a webhook
        call: synctera-webhooks.getwebhook1
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatewebhook
        description: Update a webhook
        call: synctera-webhooks.updatewebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/{webhook-id}/events
      name: webhooks-webhook-id-events
      description: REST surface for webhooks-webhook_id-events.
      operations:
      - method: GET
        name: listevents
        description: List webhook events
        call: synctera-webhooks.listevents
        with:
          start_date: rest.start_date
          end_date: rest.end_date
          start_time: rest.start_time
          end_time: rest.end_time
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/{webhook-id}/events/{event-id}
      name: webhooks-webhook-id-events-event-id
      description: REST surface for webhooks-webhook_id-events-event_id.
      operations:
      - method: GET
        name: getevent
        description: Get webhook event
        call: synctera-webhooks.getevent
        with:
          event_id: rest.event_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/{webhook-id}/events/{event-id}/resend
      name: webhooks-webhook-id-events-event-id-resend
      description: REST surface for webhooks-webhook_id-events-event_id-resend.
      operations:
      - method: POST
        name: resendevent
        description: Resend an event
        call: synctera-webhooks.resendevent
        with:
          event_id: rest.event_id
          delay: rest.delay
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: synctera-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Synctera API — Webhooks. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-webhooks
      description: List webhooks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: synctera-webhooks.listwebhooks1
      with:
        is_enabled_only: tools.is_enabled_only
      outputParameters:
      - type: object
        mapping: $.
    - name: create-webhook
      description: Create a webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: synctera-webhooks.createwebhook1
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: trigger-event
      description: Trigger an event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: synctera-webhooks.triggerevent
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-webhook
      description: Delete a webhook
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: synctera-webhooks.deletewebhook
      outputParameters:
      - type: object
        mapping: $.
    - name: get-webhook
      description: Get a webhook
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: synctera-webhooks.getwebhook1
      outputParameters:
      - type: object
        mapping: $.
    - name: update-webhook
      description: Update a webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: synctera-webhooks.updatewebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-webhook-events
      description: List webhook events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: synctera-webhooks.listevents
      with:
        start_date: tools.start_date
        end_date: tools.end_date
        start_time: tools.start_time
        end_time: tools.end_time
      outputParameters:
      - type: object
        mapping: $.
    - name: get-webhook-event
      description: Get webhook event
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: synctera-webhooks.getevent
      with:
        event_id: tools.event_id
      outputParameters:
      - type: object
        mapping: $.
    - name: resend-event
      description: Resend an event
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: synctera-webhooks.resendevent
      with:
        event_id: tools.event_id
        delay: tools.delay
      outputParameters:
      - type: object
        mapping: $.