Connections
In Make, you need to create a connection for most apps. Make then uses this connection to communicate with the third-party service and to authenticate your requests to the third-party service. The following endpoints allow you to create and manage connections.
Retrieves a collection of all connections for a team with a given ID. Returned connections are sorted by name in ascending order.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique ID of the team whose connections will be retrieved.
22Specifies the type of the connections to return details for. The connection type is defined in the accountName property and you can get it from the Get connection details endpoint.
{"value":"airtable2"}Allows utilizing the scopes check. The particular connection type (<connectionType>) should be one of the types specified in the type[] parameter. The values are the scopes to check for the given connection type. You can send multiple <connectionType> values with corresponding arrays to check multiple connection types scopes at once. The result of the check is reflected in the scoped property of the returned connection object.
{"value":["requestedScope","anotherRequestedScope"]}Successful response
GET /api/v2/connections?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"connections": [
{
"id": 2,
"name": "My Airtable connection",
"accountName": "airtable2",
"accountLabel": "Airtable",
"packageName": null,
"expire": null,
"metadata": null,
"teamId": 22,
"theme": "#18bfff",
"upgradeable": false,
"scopesCnt": 0,
"scoped": true,
"accountType": "basic",
"editable": false,
"uid": null,
"connectedSystemId": "c5d8e134-d2f8-480d-9838-119a54f65d3e",
"organizationId": 3
},
{
"id": 15,
"name": "My Google connection",
"accountName": "google",
"accountLabel": "Google",
"packageName": null,
"expire": null,
"metadata": {
"type": "email",
"value": "test@mydomain.com"
},
"teamId": 22,
"theme": "#fecd5f",
"upgradeable": false,
"scopesCnt": 4,
"scoped": true,
"accountType": "oauth",
"editable": false,
"uid": 225874569526501080000,
"connectedSystemId": "4244156b-88cc-43cf-a5e9-e94bd0304745",
"organizationId": 2343
}
]
}Creates a new connection with data passed in the request body. In the response, it returns all details of the created connection.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The unique ID of the team whose connections will be retrieved.
1The connection name. The name must be at most 128 characters long and does not need to be unique.
The connection type corresponding to the connected app. For some connection types, this property may require providing additional properties in the request body, such as clientId and clientSecret, in order to authorize the connection and make it functional.
The connection scope determining the module use. The format and number of available scopes vary depending on the accountType parameter.
Entity-tier visibility of the created connection. With locked the connection is restricted to its access list from the moment it is created, with the creator as its sole admin. Requires the Locked connections feature to be enabled for the organization; otherwise the request fails with IM903 (HTTP 400). When the access list cannot be provisioned, the request fails with HTTP 422 and the connection is not created. Omitted or team, the connection is visible to the whole team.
teamPossible values: Successful response
The accountVisibility value is invalid (IM005), or accountVisibility: locked was sent while the Locked connections feature is not enabled for the organization (IM903, returned while the web_api_locked_connections feature flag is off).
The access list of a locked connection could not be provisioned (IM016). The connection is not created — the request can be retried.
POST /api/v2/connections?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 116
{
"accountName": "Slack Test",
"accountType": "slack",
"clientId": 123456,
"clientSecret": "secret",
"scopes": [
"chat:write"
]
}{
"connection": {
"id": 90,
"name": "Slack test",
"accountName": "slack",
"accountLabel": "Slack",
"packageName": null,
"expire": null,
"metadata": {
"value": "Make User",
"type": "string"
},
"teamId": 2,
"theme": "#4a154b",
"upgradeable": false,
"scopes": 0,
"scoped": true,
"accountType": "oauth",
"editable": false,
"uid": 3243125312
}
}Gets a list of connection parameters that can be updated. You can update a connection with the API call POST /connections/{connectionId}/set-data.
If the connection cannot be updated then the API call returns the error message "Cannot edit this connection." When this happens, create a new connection instead.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128Successful response
The connection is restricted to its access list and the caller is not on it with permission to use it (IM002).
GET /api/v2/connections/{connectionId}/editable-data-schema HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"editableParameters": [
"url",
"apiKey"
]
}Updates the specified connection with data in the request body. Check which data you need to send to update the connection with the API call GET /connections/{connectionId}/editable-data-schema. The data might be different for each app and connection type.
The new connection data replace the original connection data. Make sure to provide all relevant data. If a field is missing in the request body, Make replaces the field in the new connection with an empty value.
For OAuth connections, you need to log in to Make and confirm the changes with the Reauthorize button. For the rest of the connection types, Make starts using the new connection data immediately.
If the connection cannot be updated then the API call returns the error message "Cannot edit this connection." When this happens, create a new connection instead.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128The request body has to contain the parameters listed in the response from the API call GET /connections/{connectionId}/editable-data-schema and the new values associated with them.
Successful response
The connection is restricted to its access list and the caller is not on it with permission to manage it (IM002).
POST /api/v2/connections/{connectionId}/set-data HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"url": "example.com",
"apiKey": "your-api-key"
}{
"changed": true
}Retrieves details of a connection with a given ID.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128Successful response
The connection is restricted to its access list and the caller is not on it with permission to use it (IM002).
GET /api/v2/connections/{connectionId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"connection": {
"id": 93,
"name": "Google",
"accountName": "google",
"accountLabel": "Google",
"packageName": null,
"expire": null,
"metadata": {
"value": "tom@example.com",
"type": "email"
},
"teamId": 4,
"theme": "#fecd5f",
"upgradeable": false,
"scopesCnt": 5,
"scoped": true,
"accountType": "oauth",
"editable": false,
"uid": 123456,
"scopes": [
{
"id": "https://www.googleapis.com/auth/userinfo.email",
"name": "View user's email address",
"account": "google"
},
{
"id": "https://mail.google.com/",
"name": "Access to Gmail.",
"account": "google"
},
{
"id": "openid",
"account": "google"
},
{
"id": "https://www.googleapis.com/auth/spreadsheets",
"account": "google"
},
{
"id": "https://www.googleapis.com/auth/drive",
"name": "Access to Google Drive.",
"account": "google"
}
],
"connectedSystemId": "4244156b-88cc-43cf-a5e9-e94bd0304745",
"organizationId": 3,
"visibility": "team"
}
}Deletes a connection with a given ID and returns the ID in the response.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128Confirms the deletion if the connection is included in at least one scenario. Confirmation is required because the scenario will stop working without the connection. If the parameter is missing or it is set to false an error code is returned and the resource is not deleted.
trueSuccessful response
The connection is restricted to its access list and the caller is not on it with permission to manage it (IM002). A team administrator may still delete such a connection only when nobody is left able to manage it.
DELETE /api/v2/connections/{connectionId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"connection": 1
}Updates the specified connection's name. The response contains all information about the updated connection.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128The updated connection name. The name must be at most 128 characters long and does not need to be unique.
Successful response
The connection is restricted to its access list and the caller is not on it with permission to manage it (IM002).
PATCH /api/v2/connections/{connectionId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"name": "New name"
}{
"connection": {
"id": 93,
"name": "New Name",
"accountName": "imap",
"accountLabel": "Others (IMAP)",
"packageName": null,
"expire": null,
"metadata": {
"value": "tom@example.com",
"type": "email"
},
"teamId": 4,
"theme": "#eb5768",
"upgradeable": false,
"scopesCnt": 0,
"scoped": true,
"accountType": "basic",
"editable": true,
"uid": 123456
}
}Verifies the connection status. This endpoint usually communicates with the API of the app that includes the given connection and verifies if credentials saved in Make are still valid. It returns the confirmation if the connection is verified (true) or not (false).
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128Successful response
The connection is restricted to its access list and the caller is not on it with permission to use it (IM002).
POST /api/v2/connections/{connectionId}/test HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"verified": true
}Verifies if a scope for a given connection is set. This endpoint returns the information if the connection is scoped (true) or not (false).
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128The array with IDs of the scopes for a given connection. The scope ID of a specific connection can be retrieved from the Get connection details endpoint.
Successful response
The connection is restricted to its access list and the caller is not on it with permission to use it (IM002).
POST /api/v2/connections/{connectionId}/scoped HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"scope": [
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/drive"
]
}{
"connection": {
"scoped": false
}
}Restricts the connection's visibility to its access list (visibility: locked). The caller becomes the sole admin of the locked connection.
Caller rule: only the connection's author can lock it, and that author must still be a member of the connection's team. A connection without an author cannot be locked.
The operation is idempotent — locking an already locked connection succeeds without any change; the caller rule above still applies.
Requires the Locked connections feature to be enabled for the organization.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128Successful response
The Locked connections feature is not enabled for the organization (IM903, returned while the web_api_locked_connections feature flag is off).
The caller is not the connection's author (IM002).
The connection does not exist (IM304).
The connection has no author, or its author is no longer a member of the connection's team (SC409) — locking is reserved to an author who is still on the team. A departure clears a connection's author, so in practice this reports the missing author.
POST /api/v2/connections/{connectionId}/make-locked HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"connection": {
"id": 15,
"visibility": "locked"
}
}Makes a locked connection visible to the whole team again (visibility: team) and clears the connection's entire access list. Only an admin of the locked connection can perform the flip. The connection's author is not changed.
The operation is idempotent — flipping an already team-visible connection succeeds, provided the caller has the account edit permission; any residual entries on the connection's access list are still cleared.
Requires the Locked connections feature to be enabled for the organization.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the connection. You can get connection ID's of all your connections with the the List connections endpoint.
128Successful response
The Locked connections feature is not enabled for the organization (IM903, returned while the web_api_locked_connections feature flag is off).
The caller is not an admin of the locked connection (IM002).
The connection does not exist (IM304).
POST /api/v2/connections/{connectionId}/make-team HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
"connection": {
"id": 15,
"visibility": "team"
}
}Last updated

