> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmembrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connector Functions

There are a few [Functions](/docs/references/functions) that are common between all connector types:

| Method | Description |
| - | - |
| [makeApiClient](/reference/workspace-elements/connectors/connector-functions/make-api-client) | Configures how your connector makes API requests to the external service, including authentication headers, base URL, and other settings. |
| [getCredentialsFromConnectionParameters](/reference/workspace-elements/connectors/connector-functions/get-credentials-from-connection-parameters) | (optional) Transforms user-provided connection parameters into the credential format required for authentication. |
| [refreshCredentials](/reference/workspace-elements/connectors/connector-functions/refresh-credentials) | (optional) Defines how to refresh expired or invalid authentication credentials without requiring user intervention. |
| [test](/reference/workspace-elements/connectors/connector-functions/test) | (optional, but recommended) Validates if authentication credentials are working correctly by making a test API request. |
| [disconnect](/reference/workspace-elements/connectors/connector-functions/disconnect) | (optional) Revokes access tokens or performs cleanup with the external service when a connection is disconnected. |

For functions specific to connector type, see a specific article inside [Connector Types](/reference/workspace-elements/connectors/connector-types).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.