website logo
⌘K
GETTING STARTED
Getting started with Pathfix
Introduction
OAuth Connect Page
Custom Redirect Domain
Monitoring Activity
Workspace
Extensions
Security
Notifications
Event Callback
Scopes
Provider reference
Access tokens
SDK's
BUBBLE.IO INTEGRATION
Bubble.io Documentation
ADALO INTEGRATION
Adalo Documentation
Adalo User Authorization
Adalo API Call
DEVELOPER CENTER
Developer center
Pathfix Consent Screen (preview)
Module dependencies
Step-by-Step
General
JavaScript
PROVIDER SETUP DOCS
Integration Setup Docs
Identity Auth
Integrating with Airtable
Integrating with Box
Integrating with Hubspot
Integrating with GitHub
Integrating with Google Tasks
Integrating with Instagram Graph API
Integrating with LinkedIn
Integrating with Pipedrive
Integrating with Quickbooks
Integrating with Stripe
Integrating with Stripe-Server
Integrating with Slack
Integrating with TikTok
Integrating with Typeform
Integrating with WooCommerce
Integrating with Xero
Integrating with Zoom
Docs powered by archbee 
7min

Endpoints

Pathfix has a single pattern for calls to all providers. Changing the user_idand public_keyprovides the endpoint with the instruction to invoke the correct access_token needed to to complete the API request. The list of supported OAuth Providers names can be found Provider reference

POST https://labs.pathfix.com/oauth/method/{providername}/call



Example

An example of how a call will be made to Google Calendar to get a List of Calendars for the connected user. Assumptions

  • Your application user is "jane.doe@example.com"
  • Your Pathfix Application public key is "aaaa-bbbb-cccc-dddd"
  • The user jane.doe@example.com has previously logged into your solution and connected their Google Calendar.
JS
|



Success Response

JS
|

The data returned from the provider (Google Calendar) will be container in the rows[0].data . Documentation about the information in returned can be found at the provider API documentation.

Error Response

JS
|

List of ERROR-TYPES and their description can be found here Error codes

Updated 10 Jun 2020
Did this page help you?
Yes
No
UP NEXT
Error codes
Docs powered by archbee 
TABLE OF CONTENTS
Example
Success Response
Error Response