Skip to content

Commit 80fa385

Browse files
Patching Connect API docs
1 parent b6e4d5c commit 80fa385

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs-v2/pages/connect/api.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ const pd = createBackendClient({
223223
});
224224

225225
const { token, expires_at } = await pd.createConnectToken({
226-
project_id: "{your_project_id}",
227226
external_user_id: "{your_external_user_id}" // The end user's ID in your system
228227
});
229228
```
@@ -242,7 +241,6 @@ const pd = createBackendClient({
242241
});
243242

244243
const { token, expires_at } = await pd.createConnectToken({
245-
project_id: "{your_project_id}",
246244
external_user_id: "{your_external_user_id}", // The end user's ID in your system
247245
});
248246
```
@@ -470,6 +468,10 @@ The ID of the account you want to retrieve
470468

471469
Pass `include_credentials=true` as a query-string parameter to include the account credentials in the response.
472470

471+
<Callout type="info">
472+
To retrieve the credentials for any account in `production` for OAuth apps (Slack, Google Sheets, etc), the connected account must be using [your own OAuth client](/connect/oauth-clients#using-a-custom-oauth-client). You can only retrieve end user credentials for accounts that are using Pipedream's OAuth clients in `development`. [Learn more here](/connect/oauth-clients#using-pipedream-oauth).
473+
</Callout>
474+
473475
##### Examples
474476

475477
<Tabs items={['TypeScript', 'Node.js', 'HTTP (cURL)']}>

0 commit comments

Comments
 (0)