You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract the `connector_id` from the callback URL and store it for future operations. For error handling and a complete implementation example, see [Build your own OAuth flow](https://docs.airbyte.com/ai-agents/platform/authenticate/build-auth/build-your-own#part-3-handle-the-callback).
175
193
176
194
#### Token
177
-
This authentication method isn't available for this connector.
195
+
Create a connector with Token credentials.
196
+
197
+
198
+
`credentials` fields you need:
199
+
200
+
| Field Name | Type | Required | Description |
201
+
|------------|------|----------|-------------|
202
+
|`private_app_token`|`str`| Yes | Access token from a HubSpot Private App |
203
+
204
+
Example request:
205
+
206
+
207
+
```bash
208
+
curl -X POST "https://api.airbyte.ai/api/v1/integrations/connectors" \
209
+
-H "Authorization: Bearer <YOUR_BEARER_TOKEN>" \
210
+
-H "Content-Type: application/json" \
211
+
-d '{
212
+
"customer_name": "<CUSTOMER_NAME>",
213
+
"connector_type": "Hubspot",
214
+
"name": "My Hubspot Connector",
215
+
"credentials": {
216
+
"private_app_token": "<Access token from a HubSpot Private App>"
0 commit comments