Sinch · Capability

Sinch Conversation API — Webhooks

Sinch Conversation API — Webhooks. 5 operations. Lead operation: List Webhooks. Self-contained Naftiko capability covering one Sinch business surface.

Run with Naftiko SinchWebhooks

What You Can Do

GET
Listwebhooks — List Webhooks
/v1/v1/projects/{project-id}/apps/{app-id}/webhooks
POST
Createwebhook — Create a Webhook
/v1/v1/projects/{project-id}/apps/{app-id}/webhooks
GET
Getwebhook — Get a Webhook
/v1/v1/projects/{project-id}/webhooks/{webhook-id}
PATCH
Updatewebhook — Update a Webhook
/v1/v1/projects/{project-id}/webhooks/{webhook-id}
DELETE
Deletewebhook — Delete a Webhook
/v1/v1/projects/{project-id}/webhooks/{webhook-id}

MCP Tools

list-webhooks

List Webhooks

read-only idempotent
create-webhook

Create a Webhook

get-webhook

Get a Webhook

read-only idempotent
update-webhook

Update a Webhook

idempotent
delete-webhook

Delete a Webhook

idempotent

Capability Spec

conversation-webhooks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sinch Conversation API — Webhooks
  description: 'Sinch Conversation API — Webhooks. 5 operations. Lead operation: List Webhooks. Self-contained Naftiko capability
    covering one Sinch business surface.'
  tags:
  - Sinch
  - Webhooks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SINCH_API_KEY: SINCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: conversation-webhooks
    baseUri: https://us.conversation.api.sinch.com
    description: Sinch Conversation API — Webhooks business capability. Self-contained, no shared references.
    resources:
    - name: v1-projects-project_id-apps-app_id-webhooks
      path: /v1/projects/{project_id}/apps/{app_id}/webhooks
      operations:
      - name: listwebhooks
        method: GET
        description: List Webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createwebhook
        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: v1-projects-project_id-webhooks-webhook_id
      path: /v1/projects/{project_id}/webhooks/{webhook_id}
      operations:
      - name: getwebhook
        method: GET
        description: Get a Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhook_id
          in: path
          type: string
          description: The unique webhook identifier
          required: true
      - name: updatewebhook
        method: PATCH
        description: Update a Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhook_id
          in: path
          type: string
          description: The unique webhook identifier
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletewebhook
        method: DELETE
        description: Delete a Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: webhook_id
          in: path
          type: string
          description: The unique webhook identifier
          required: true
    authentication:
      type: bearer
      token: '{{env.SINCH_API_KEY}}'
  exposes:
  - type: rest
    namespace: conversation-webhooks-rest
    port: 8080
    description: REST adapter for Sinch Conversation API — Webhooks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/projects/{project-id}/apps/{app-id}/webhooks
      name: v1-projects-project-id-apps-app-id-webhooks
      description: REST surface for v1-projects-project_id-apps-app_id-webhooks.
      operations:
      - method: GET
        name: listwebhooks
        description: List Webhooks
        call: conversation-webhooks.listwebhooks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createwebhook
        description: Create a Webhook
        call: conversation-webhooks.createwebhook
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/projects/{project-id}/webhooks/{webhook-id}
      name: v1-projects-project-id-webhooks-webhook-id
      description: REST surface for v1-projects-project_id-webhooks-webhook_id.
      operations:
      - method: GET
        name: getwebhook
        description: Get a Webhook
        call: conversation-webhooks.getwebhook
        with:
          webhook_id: rest.webhook_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatewebhook
        description: Update a Webhook
        call: conversation-webhooks.updatewebhook
        with:
          webhook_id: rest.webhook_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletewebhook
        description: Delete a Webhook
        call: conversation-webhooks.deletewebhook
        with:
          webhook_id: rest.webhook_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conversation-webhooks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sinch Conversation 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: conversation-webhooks.listwebhooks
      outputParameters:
      - type: object
        mapping: $.
    - name: create-webhook
      description: Create a Webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversation-webhooks.createwebhook
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-webhook
      description: Get a Webhook
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversation-webhooks.getwebhook
      with:
        webhook_id: tools.webhook_id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-webhook
      description: Update a Webhook
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: conversation-webhooks.updatewebhook
      with:
        webhook_id: tools.webhook_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-webhook
      description: Delete a Webhook
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: conversation-webhooks.deletewebhook
      with:
        webhook_id: tools.webhook_id
      outputParameters:
      - type: object
        mapping: $.