Docs
start_channel_connect
Start connecting a social account to a workspace. For OAuth platforms it returns an authorizeUrl: a person opens it in their browser, signed in to heyeveryone as the same account, and approves access on the platform; the account then appears in list_channel_accounts. The link works once and expires after 15 minutes. For Bluesky it returns the fields (handle and an app password) a person enters in heyeveryone. Fails with not_configured when heyeveryone has no app credentials for that platform here. For test accounts use connect_sandbox_account. Platforms that sign in separately per account type take `accountType` (get_channel_capabilities lists them as connectChoices). LinkedIn: 'profile' (a personal profile, the default) or 'page' (company pages the person administers; not_configured until LinkedIn has approved company pages for heyeveryone here). Leave accountType out on every other platform.
Start connecting a social account to a workspace. For OAuth platforms it returns an authorizeUrl: a person opens it in their browser, signed in to heyeveryone as the same account, and approves access on the platform; the account then appears in list_channel_accounts. The link works once and expires after 15 minutes. For Bluesky it returns the fields (handle and an app password) a person enters in heyeveryone. Fails with not_configured when heyeveryone has no app credentials for that platform here. For test accounts use connect_sandbox_account. Platforms that sign in separately per account type take accountType (get_channel_capabilities lists them as connectChoices). LinkedIn: 'profile' (a personal profile, the default) or 'page' (company pages the person administers; not_configured until LinkedIn has approved company pages for heyeveryone here). Leave accountType out on every other platform.
Access and cost
- Kind: mutation
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"platform": {
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
"returnTo": {
"maxLength": 500,
"pattern": "^\\/(?!\\/)[^\\s\\\\]*$",
"type": "string"
},
"accountType": {
"pattern": "^[a-z][a-z_]{0,30}$",
"type": "string"
}
},
"required": [
"workspaceId",
"platform"
],
"type": "object"
}Output schema
{
"oneOf": [
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "oauth2",
"type": "string"
},
"authorizeUrl": {
"format": "uri",
"type": "string"
},
"expiresAt": {
"format": "date-time",
"type": "string"
}
},
"required": [
"kind",
"authorizeUrl",
"expiresAt"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"kind": {
"const": "credentials",
"type": "string"
},
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"secret": {
"type": "boolean"
},
"help": {
"type": "string"
}
},
"required": [
"key",
"label",
"secret",
"help"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"kind",
"fields"
],
"type": "object"
}
]
}Errors
[
"not_configured",
"use_sandbox",
"connect_failed"
]Annotations
{
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": false,
"readOnlyHint": false,
"title": "Start connecting a channel"
}