Skip to main content
POST
Link a provider identity to a member

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

provider
enum<string>
required

Channel provider. Slack is the only provider today.

Available options:
slack

Body

application/json
externalUserId
string
required

The Slack user id.

Maximum string length: 200
userId
string
required

The OneCLI member's user id.

Maximum string length: 200

Response

The link

An explicit link between a provider identity (a Slack user) and a OneCLI member.

id
string
externalUserId
string
linkedVia
string

How the link was made (manual for admin-made links).

createdAt
string<date-time>
user
object
integration
object

List reads only.