Skip to content

Start connector OAuth

POST
/api/v1/workspaces/{workspace_id}/connectors/{id}/start_oauth

Starts the OAuth flow for an existing connector.

workspace_id
required
integer

Workspace ID

id
required
integer

Connector ID

Successful

object
oauth_authorization_url
required
string
Example
https://app.constantcontact.com/oauth2/v1/authorize?client_id=12345&redirect_uri=https://app.constantcontact.com/oauth2/v1/callback&response_type=code&scope=email_profile_read

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Not Found

object
message
required
string
Example
Record not found