diff --git a/docs-v2/reference/scripts.mdx b/docs-v2/reference/scripts.mdx index 9a7ce16b90e..c3e89778a7a 100644 --- a/docs-v2/reference/scripts.mdx +++ b/docs-v2/reference/scripts.mdx @@ -202,6 +202,28 @@ await nango.triggerAction('', { 'custom_key1': 'custom_value1' }); _TbD_ +# Get Integration + +Returns the current integration information + +```js +await nango.getIntegration(); +``` + +With credentials + +```js +await nango.getIntegration({ include: ['credentials'] }); +``` + +**Parameters** + +See `GET /integrations/{uniqueKey}` query parameters: [documentation](/reference/api/integration/get) + +**Response** + +See `GET /integrations/{uniqueKey}` response: [documentation](/reference/api/integration/get) + # Manage connection metadata ### Get connection metadata