Unified.to · Capability
Unified.to API — message
Unified.to API — message. 6 operations. Lead operation: List all messages. Self-contained Naftiko capability covering one Unified To business surface.
What You Can Do
GET
Listmessagingmessages
— List all messages
/v1/messaging/{connection-id}/message
POST
Createmessagingmessage
— Create a message
/v1/messaging/{connection-id}/message
DELETE
Removemessagingmessage
— Remove a message
/v1/messaging/{connection-id}/message/{id}
GET
Getmessagingmessage
— Retrieve a message
/v1/messaging/{connection-id}/message/{id}
PATCH
Patchmessagingmessage
— Update a message
/v1/messaging/{connection-id}/message/{id}
PUT
Updatemessagingmessage
— Update a message
/v1/messaging/{connection-id}/message/{id}
MCP Tools
list-all-messages
List all messages
read-only
idempotent
create-message
Create a message
remove-message
Remove a message
idempotent
retrieve-message
Retrieve a message
read-only
idempotent
update-message
Update a message
idempotent
update-message-2
Update a message
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Unified.to API — message
description: 'Unified.to API — message. 6 operations. Lead operation: List all messages. Self-contained Naftiko capability
covering one Unified To business surface.'
tags:
- Unified To
- message
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
consumes:
- type: http
namespace: productivity-message
baseUri: https://api.unified.to
description: Unified.to API — message business capability. Self-contained, no shared references.
resources:
- name: messaging-connection_id-message
path: /messaging/{connection_id}/message
operations:
- name: listmessagingmessages
method: GET
description: List all messages
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: number
- name: offset
in: query
type: number
- name: updated_gte
in: query
type: string
description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
format)
- name: sort
in: query
type: string
- name: order
in: query
type: string
- name: query
in: query
type: string
description: Query string to search. eg. email address or name
- name: parent_id
in: query
type: string
description: The parent ID to filter by
- name: channel_id
in: query
type: string
description: The channel ID to filter by. You can also use these aliases; INBOX, SENT or DRAFT (reference to MessagingChannel)
- name: start_gte
in: query
type: string
description: The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
- name: end_lt
in: query
type: string
description: The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
- name: expand
in: query
type: boolean
description: Whether to flatten grouped or recurring items into individual entries.
- name: user_id
in: query
type: string
description: The user/employee ID to filter by (reference to HrisEmployee)
- name: type
in: query
type: string
- name: user_mentioned_id
in: query
type: string
description: The user/employee ID to filter by
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: createmessagingmessage
method: POST
description: Create a message
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: messaging-connection_id-message-id
path: /messaging/{connection_id}/message/{id}
operations:
- name: removemessagingmessage
method: DELETE
description: Remove a message
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Message
required: true
- name: getmessagingmessage
method: GET
description: Retrieve a message
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Message
required: true
- name: patchmessagingmessage
method: PATCH
description: Update a message
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Message
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: updatemessagingmessage
method: PUT
description: Update a message
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: fields
in: query
type: array
description: Fields to return
- name: raw
in: query
type: string
description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
- name: connection_id
in: path
type: string
description: ID of the connection
required: true
- name: id
in: path
type: string
description: ID of the Message
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: apikey
key: authorization
value: '{{env.UNIFIED_TO_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: productivity-message-rest
port: 8080
description: REST adapter for Unified.to API — message. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/messaging/{connection-id}/message
name: messaging-connection-id-message
description: REST surface for messaging-connection_id-message.
operations:
- method: GET
name: listmessagingmessages
description: List all messages
call: productivity-message.listmessagingmessages
with:
limit: rest.limit
offset: rest.offset
updated_gte: rest.updated_gte
sort: rest.sort
order: rest.order
query: rest.query
parent_id: rest.parent_id
channel_id: rest.channel_id
start_gte: rest.start_gte
end_lt: rest.end_lt
expand: rest.expand
user_id: rest.user_id
type: rest.type
user_mentioned_id: rest.user_mentioned_id
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
outputParameters:
- type: object
mapping: $.
- method: POST
name: createmessagingmessage
description: Create a message
call: productivity-message.createmessagingmessage
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/messaging/{connection-id}/message/{id}
name: messaging-connection-id-message-id
description: REST surface for messaging-connection_id-message-id.
operations:
- method: DELETE
name: removemessagingmessage
description: Remove a message
call: productivity-message.removemessagingmessage
with:
connection_id: rest.connection_id
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: GET
name: getmessagingmessage
description: Retrieve a message
call: productivity-message.getmessagingmessage
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: patchmessagingmessage
description: Update a message
call: productivity-message.patchmessagingmessage
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updatemessagingmessage
description: Update a message
call: productivity-message.updatemessagingmessage
with:
fields: rest.fields
raw: rest.raw
connection_id: rest.connection_id
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: productivity-message-mcp
port: 9090
transport: http
description: MCP adapter for Unified.to API — message. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: list-all-messages
description: List all messages
hints:
readOnly: true
destructive: false
idempotent: true
call: productivity-message.listmessagingmessages
with:
limit: tools.limit
offset: tools.offset
updated_gte: tools.updated_gte
sort: tools.sort
order: tools.order
query: tools.query
parent_id: tools.parent_id
channel_id: tools.channel_id
start_gte: tools.start_gte
end_lt: tools.end_lt
expand: tools.expand
user_id: tools.user_id
type: tools.type
user_mentioned_id: tools.user_mentioned_id
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
outputParameters:
- type: object
mapping: $.
- name: create-message
description: Create a message
hints:
readOnly: false
destructive: false
idempotent: false
call: productivity-message.createmessagingmessage
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: remove-message
description: Remove a message
hints:
readOnly: false
destructive: true
idempotent: true
call: productivity-message.removemessagingmessage
with:
connection_id: tools.connection_id
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: retrieve-message
description: Retrieve a message
hints:
readOnly: true
destructive: false
idempotent: true
call: productivity-message.getmessagingmessage
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: update-message
description: Update a message
hints:
readOnly: false
destructive: false
idempotent: true
call: productivity-message.patchmessagingmessage
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: update-message-2
description: Update a message
hints:
readOnly: false
destructive: false
idempotent: true
call: productivity-message.updatemessagingmessage
with:
fields: tools.fields
raw: tools.raw
connection_id: tools.connection_id
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.