Connections
Oauth2 Callback
This callback/webhook is used while creating a new connection with Oauth2. See https://docs.peaka.com/how-to-guides/how-to-create-oauth2-based-connections-via-peaka for more information.
POST
Path Parameters
ID of the project
Body
application/json
Query parameters received from the Oauth2 redirection. Pass all query parameters as a single string. Example: "https://yourdomain.com/oauth2/mycallback?code=1234&state=xyz¶m1=value1¶m2=value2"
"queryParameters": "code=1234&state=xyz¶m1=value1¶m2=value2"
Response
200 - application/json
Connection ID
Name of the connection
Type of connection.
Example: airtable for AirTable, stripe for Stripe, hubspot_access_token for HubSpot (with Access Token), etc.
Exact list can be fetched by following url: /connections/config
Oauth callback url if the connection is Oauth based.