Skip to main content
POST
/
orgs
/
{org_id}
/
connections
/
oauth
/
url
Create OAuth Provider URL
curl --request POST \
  --url https://api.example.com/orgs/{org_id}/connections/oauth/url \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "SLACK",
  "connection_id": "<string>",
  "subdomain": "<string>",
  "external_redirect_url": "<string>"
}
'
{
  "url": "<string>"
}

Path Parameters

org_id
string
required

Body

Create OAuth provider URL

type
enum<string>
required

Connection type

Available options:
SCHEDULER,
WORKFLOWS,
TOOLS,
FILES,
PHONE,
GMAIL,
GOOGLE_SHEETS,
GOOGLE_CALENDAR,
AIRTABLE,
NOTION,
LINEAR,
HUBSPOT,
GOHIGHLEVEL,
CAL,
CALENDLY,
RESEND,
OAUTH,
SLACK,
TELEGRAM,
TRELLO,
FACEBOOK,
WHATSAPP,
INSTAGRAM,
MESSENGER,
JAPIFON,
TWILIO,
ZOHO,
SALESFORCE,
STRIPE,
SHOPIFY,
ZENDESK,
MCP
Example:

"SLACK"

connection_id
string
Maximum string length: 128
subdomain
string

The subdomain of the OAuth provider

external_redirect_url
string
Maximum string length: 2048

Response

200 - application/json

The URL to redirect the user to for OAuth authentication.

OAuth provider authentication URL

url
string
required