Sinch · Capability

Sinch Conversation API — Contacts

Sinch Conversation API — Contacts. 6 operations. Lead operation: Create a Contact. Self-contained Naftiko capability covering one Sinch business surface.

Run with Naftiko SinchContacts

What You Can Do

POST
Createcontact — Create a Contact
/v1/v1/projects/{project-id}/contacts
GET
Listcontacts — List Contacts
/v1/v1/projects/{project-id}/contacts
GET
Getcontact — Get a Contact
/v1/v1/projects/{project-id}/contacts/{contact-id}
PATCH
Updatecontact — Update a Contact
/v1/v1/projects/{project-id}/contacts/{contact-id}
DELETE
Deletecontact — Delete a Contact
/v1/v1/projects/{project-id}/contacts/{contact-id}
POST
Mergecontacts — Merge Contacts
/v1/v1/projects/{project-id}/contacts-merge

MCP Tools

create-contact

Create a Contact

list-contacts

List Contacts

read-only idempotent
get-contact

Get a Contact

read-only idempotent
update-contact

Update a Contact

idempotent
delete-contact

Delete a Contact

idempotent
merge-contacts

Merge Contacts

Capability Spec

conversation-contacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sinch Conversation API — Contacts
  description: 'Sinch Conversation API — Contacts. 6 operations. Lead operation: Create a Contact. Self-contained Naftiko
    capability covering one Sinch business surface.'
  tags:
  - Sinch
  - Contacts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SINCH_API_KEY: SINCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: conversation-contacts
    baseUri: https://us.conversation.api.sinch.com
    description: Sinch Conversation API — Contacts business capability. Self-contained, no shared references.
    resources:
    - name: v1-projects-project_id-contacts
      path: /v1/projects/{project_id}/contacts
      operations:
      - name: createcontact
        method: POST
        description: Create a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listcontacts
        method: GET
        description: List Contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page_size
          in: query
          type: integer
          description: The number of contacts per page
        - name: page_token
          in: query
          type: string
          description: Pagination token for the next page
    - name: v1-projects-project_id-contacts-contact_id
      path: /v1/projects/{project_id}/contacts/{contact_id}
      operations:
      - name: getcontact
        method: GET
        description: Get a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecontact
        method: PATCH
        description: Update a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletecontact
        method: DELETE
        description: Delete a Contact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-projects-project_id-contacts:merge
      path: /v1/projects/{project_id}/contacts:merge
      operations:
      - name: mergecontacts
        method: POST
        description: Merge Contacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.SINCH_API_KEY}}'
  exposes:
  - type: rest
    namespace: conversation-contacts-rest
    port: 8080
    description: REST adapter for Sinch Conversation API — Contacts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/projects/{project-id}/contacts
      name: v1-projects-project-id-contacts
      description: REST surface for v1-projects-project_id-contacts.
      operations:
      - method: POST
        name: createcontact
        description: Create a Contact
        call: conversation-contacts.createcontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listcontacts
        description: List Contacts
        call: conversation-contacts.listcontacts
        with:
          page_size: rest.page_size
          page_token: rest.page_token
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/projects/{project-id}/contacts/{contact-id}
      name: v1-projects-project-id-contacts-contact-id
      description: REST surface for v1-projects-project_id-contacts-contact_id.
      operations:
      - method: GET
        name: getcontact
        description: Get a Contact
        call: conversation-contacts.getcontact
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecontact
        description: Update a Contact
        call: conversation-contacts.updatecontact
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecontact
        description: Delete a Contact
        call: conversation-contacts.deletecontact
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/projects/{project-id}/contacts-merge
      name: v1-projects-project-id-contacts-merge
      description: REST surface for v1-projects-project_id-contacts:merge.
      operations:
      - method: POST
        name: mergecontacts
        description: Merge Contacts
        call: conversation-contacts.mergecontacts
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conversation-contacts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sinch Conversation API — Contacts. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-contact
      description: Create a Contact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversation-contacts.createcontact
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-contacts
      description: List Contacts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversation-contacts.listcontacts
      with:
        page_size: tools.page_size
        page_token: tools.page_token
      outputParameters:
      - type: object
        mapping: $.
    - name: get-contact
      description: Get a Contact
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversation-contacts.getcontact
      outputParameters:
      - type: object
        mapping: $.
    - name: update-contact
      description: Update a Contact
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: conversation-contacts.updatecontact
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-contact
      description: Delete a Contact
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: conversation-contacts.deletecontact
      outputParameters:
      - type: object
        mapping: $.
    - name: merge-contacts
      description: Merge Contacts
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversation-contacts.mergecontacts
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.