Unified.to · Capability
Unified.to API — login
Unified.to API — login. 1 operations. Lead operation: Sign in a user. Self-contained Naftiko capability covering one Unified To business surface.
What You Can Do
GET
Getunifiedintegrationlogin
— Sign in a user
/v1/unified/integration/login/{workspace-id}/{integration-type}
MCP Tools
sign-user
Sign in a user
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Unified.to API — login
description: 'Unified.to API — login. 1 operations. Lead operation: Sign in a user. Self-contained Naftiko capability covering
one Unified To business surface.'
tags:
- Unified To
- login
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: unified-core-login
baseUri: https://api.unified.to
description: Unified.to API — login business capability. Self-contained, no shared references.
resources:
- name: unified-integration-login-workspace_id-integration_type
path: /unified/integration/login/{workspace_id}/{integration_type}
operations:
- name: getunifiedintegrationlogin
method: GET
description: Sign in a user
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: success_redirect
in: query
type: string
description: The URL where you want the user to be redirect to after a successful authentication/sign-in. A "jwt"
parameter will be appended to the URL which will contain a
- name: failure_redirect
in: query
type: string
description: The URL where you want the user to be redirect to after an unsuccessful authentication. An "error"
variable will be appended.
- name: state
in: query
type: string
description: Extra state to send back to your success URL
- name: redirect
in: query
type: boolean
- name: env
in: query
type: string
- name: workspace_id
in: path
type: string
description: The ID of the workspace
required: true
- name: integration_type
in: path
type: string
description: Type of the supported integration
required: true
authentication:
type: apikey
key: authorization
value: '{{env.UNIFIED_TO_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: unified-core-login-rest
port: 8080
description: REST adapter for Unified.to API — login. One Spectral-compliant resource per consumed operation, prefixed
with /v1.
resources:
- path: /v1/unified/integration/login/{workspace-id}/{integration-type}
name: unified-integration-login-workspace-id-integration-type
description: REST surface for unified-integration-login-workspace_id-integration_type.
operations:
- method: GET
name: getunifiedintegrationlogin
description: Sign in a user
call: unified-core-login.getunifiedintegrationlogin
with:
success_redirect: rest.success_redirect
failure_redirect: rest.failure_redirect
state: rest.state
redirect: rest.redirect
env: rest.env
workspace_id: rest.workspace_id
integration_type: rest.integration_type
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: unified-core-login-mcp
port: 9090
transport: http
description: MCP adapter for Unified.to API — login. One tool per consumed operation, routed inline through this capability's
consumes block.
tools:
- name: sign-user
description: Sign in a user
hints:
readOnly: true
destructive: false
idempotent: true
call: unified-core-login.getunifiedintegrationlogin
with:
success_redirect: tools.success_redirect
failure_redirect: tools.failure_redirect
state: tools.state
redirect: tools.redirect
env: tools.env
workspace_id: tools.workspace_id
integration_type: tools.integration_type
outputParameters:
- type: object
mapping: $.