Connections

Create OAuth provider URL

Step 1 of connecting an app with OAuth. Returns the sign-in URL of the provider. Send the user there; after consent, the provider redirects back to your URL with a code.

post/orgs/connections/oauth/url

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/connections/oauth/url
  • Auth: HTTP bearer

Request body

type'SCHEDULER' | 'WORKFLOWS' | 'TOOLS' | 'FILES' | 'EMAILS' | 'HTTP_CREDENTIALS' | 'TABLES' | 'PAGES' | 'KNOWLEDGE' | 'SKILLS' | 'CONTACTS' | 'SEGMENTS' | 'ASSISTANTS' | 'AGENTS' | 'CHATS' | 'INBOX' | 'MEMBERS' | 'SUB_ORGS' | 'BILLING' | 'BROADCASTS' | 'ANALYTICS' | 'AUDIT' | 'PHONE' | 'GMAIL' | 'GOOGLE_SHEETS' | 'GOOGLE_CALENDAR' | 'GOOGLE_DRIVE' | 'GOOGLE_MEET' | 'ONEDRIVE' | 'SHAREPOINT' | 'OUTLOOK_CALENDAR' | 'OUTLOOK' | 'AIRTABLE' | 'NOTION' | 'LINEAR' | 'HUBSPOT' | 'GOHIGHLEVEL' | 'CAL' | 'CALENDLY' | 'RESEND' | 'OAUTH' | 'SLACK' | 'TEAMS' | 'TELEGRAM' | 'TRELLO' | 'FACEBOOK' | 'WHATSAPP' | 'INSTAGRAM' | 'MESSENGER' | 'TIKTOK' | 'JAPIFON' | 'SMPP' | 'TWILIO' | 'TELNYX' | 'ZOHO' | 'ZOHO_BOOKINGS' | 'ZOHO_INVENTORY' | 'ZOHO_CALENDAR' | 'SALESFORCE' | 'STRIPE' | 'SHOPIFY' | 'ZENDESK' | 'MCP' | 'OPENAPI' | 'ODOO' | 'WOOCOMMERCE' required

Connection type

connection_idstring
subdomainstring

The subdomain of the OAuth provider

environmentstring

The environment of the OAuth provider to connect (one of the provider environments, e.g. live or sandbox)

external_redirect_urlstring
namestring

Name for the connection a sign-in creates

Example request

{
  "type": "SLACK"
}

Response

The URL to redirect the user to for OAuth authentication.

urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.