Connectors
Retrieves a paginated list of connectors. Can be filtered by canonical_key, system, and other criteria. Note: In the Patchworks dashboard, a connector is known as an instance.
Available Includes
These are the includes that can be used to include addition related data in the results. Please see the section on using includes for more details.
authenticationImplementation
authenticationImplementation_count
authenticationImplementationExists
authenticationImplementation.authenticationType
authenticationImplementation.system
authenticationImplementation.system.logo
authenticationImplementation.endpoints
authenticationImplementation.endpoints.filters
authenticationImplementation.endpoints.endpointSchema
authenticationImplementation.endpoints.system
authenticationImplementation.endpoints.system.logo
authenticationImplementation.endpoints.entityType
authenticationImplementation.endpoints.fieldTags
authenticationImplementation.system.systemType
variables
variables_count
variablesExists
authenticationImplementation.endpoints.variables
certificate
certificate_count
certificateExists
certificate.user
Available Filters
These are the filters that can be used to specific the data to return. Please see the section on using filters for more details.
forSystemTemplate
forSession
Available Sorts
These are the sorts that can be used order the returned data. Please see the section on using sorting for more details.
name
API key passed in the Authorization header. Format: <api-key>
Filter results by canonical_key.
Filter results by forSystemTemplate.
Filter results by system.
Filter results by system_template_id.
Filter results by forSession.
Filter results by platformSession.
Page number for pagination.
1Number of results per page.
Filter results by name.
Filter results by system_id.
Successful response
Unauthenticated
Unauthorized
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/connectors HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"authentication_implementation_id": 1,
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": "example_variables",
"session_id": 1,
"platform_app_key": "example_platform_app_key",
"certificate_id": 1,
"type": "example_type",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"authentication_implementation": [],
"system": "example_system",
"certificate": "example_certificate"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/connectors",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/connectors?page=1",
"last": "https://api.example.com/api/v1/connectors?page=1",
"prev": null,
"next": null
}
}Creates a new connector. Note: In the Patchworks dashboard, a connector is known as an instance.
Validation Rules
These are the basic validation rules for the request. More detailed validation may apply depending on the data being sent. Please see the response for any extra requirements
name
string
☑
authentication_implementation_id
☑
timezone
string
☑
date_format
string
☑
rate_limit_unit
string
☑
rate_limit_duration
integer
☑
connection_pool_id
integer
variables
variables.*.key
string
☑
variables.*.value
string
variables.*.label
string
☑
variables.*.secret
variables.*.locked
variables.*.pivot.alias
string
variables.*.pivot.configurable
variables.*.pivot.required
variables.*.pivot.advanced
session_id
string
platform_app_key
string
certificate_id
string
API key passed in the Authorization header. Format: <api-key>
Successful response
Unauthenticated
Unauthorized
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/connectors HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 310
{
"authentication_implementation_id": 1,
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": "example_variables",
"session_id": 1,
"platform_app_key": "example_platform_app_key",
"certificate_id": 1,
"name": "My Example"
}{
"data": {
"id": 1,
"authentication_implementation_id": 1,
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": "example_variables",
"session_id": 1,
"platform_app_key": "example_platform_app_key",
"certificate_id": 1,
"type": "example_type",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"authentication_implementation": [],
"system": "example_system",
"certificate": "example_certificate"
}
}Retrieves details for a given connector. Note: In the Patchworks dashboard, a connector is known as an instance.
Available Includes
These are the includes that can be used to include addition related data in the results. Please see the section on using includes for more details.
authenticationImplementation
authenticationImplementation_count
authenticationImplementationExists
authenticationImplementation.authenticationType
authenticationImplementation.system
authenticationImplementation.system.logo
authenticationImplementation.endpoints
authenticationImplementation.endpoints.filters
authenticationImplementation.endpoints.endpointSchema
authenticationImplementation.endpoints.system
authenticationImplementation.endpoints.system.logo
authenticationImplementation.endpoints.entityType
authenticationImplementation.endpoints.fieldTags
authenticationImplementation.system.systemType
variables
variables_count
variablesExists
authenticationImplementation.endpoints.variables
certificate
certificate_count
certificateExists
certificate.user
Available Filters
These are the filters that can be used to specific the data to return. Please see the section on using filters for more details.
forSystemTemplate
forSession
Available Sorts
These are the sorts that can be used order the returned data. Please see the section on using sorting for more details.
name
API key passed in the Authorization header. Format: <api-key>
The connector identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/connectors/{connector} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 1,
"authentication_implementation_id": 1,
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": "example_variables",
"session_id": 1,
"platform_app_key": "example_platform_app_key",
"certificate_id": 1,
"type": "example_type",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"authentication_implementation": [],
"system": "example_system",
"certificate": "example_certificate"
}
}Update an existing connector. Note: In the Patchworks dashboard, a connector is known as an instance.
Validation Rules
These are the basic validation rules for the request. More detailed validation may apply depending on the data being sent. Please see the response for any extra requirements
authentication_implementation_id
name
string
type
string
timezone
string
date_format
string
rate_limit_unit
string
rate_limit_duration
integer
connection_pool_id
integer
variables
variables.*.id
string
☑
variables.*.key
string
variables.*.value
string
variables.*.label
string
variables.*.secret
variables.*.locked
variables.*.pivot.alias
string
variables.*.pivot.configurable
variables.*.pivot.required
variables.*.pivot.advanced
API key passed in the Authorization header. Format: <api-key>
The connector identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
PUT /api/v1/connectors/{connector} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 252
{
"authentication_implementation_id": 1,
"type": "example_type",
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": "example_variables",
"name": "My Example"
}{
"data": {
"id": 1,
"authentication_implementation_id": 1,
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": "example_variables",
"session_id": 1,
"platform_app_key": "example_platform_app_key",
"certificate_id": 1,
"type": "example_type",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"authentication_implementation": [],
"system": "example_system",
"certificate": "example_certificate"
}
}Delete an existing connector. Note: In the Patchworks dashboard, a connector is known as an instance.
API key passed in the Authorization header. Format: <api-key>
The connector identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
DELETE /api/v1/connectors/{connector} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "Action completed successfully."
}Test the connection to ensure authentication credentials are valid . Note: In the Patchworks dashboard, a connector is known as an instance.
API key passed in the Authorization header. Format: <api-key>
The connector identifier.
Successful response
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/connectors/{connector}/test HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 373
{
"authentication_implementation_id": 1,
"name": "text",
"type": "text",
"timezone": "text",
"date_format": "text",
"rate_limit_unit": "text",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"authenticate": true,
"variables": [
{
"id": "text",
"key": "text",
"value": "text",
"label": "text",
"secret": true,
"locked": true,
"pivot": {
"alias": "text",
"configurable": true,
"required": true,
"advanced": true
}
}
]
}{
"data": {
"id": 1,
"authentication_implementation_id": 1,
"timezone": "example_timezone",
"date_format": "example_date_format",
"rate_limit_unit": "second",
"rate_limit_duration": 1,
"connection_pool_id": 1,
"variables": [],
"session_id": 1,
"platform_app_key": "example_platform_app_key",
"certificate_id": 1,
"type": "example_type",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"name": "My Example",
"authentication_implementation": "example_authentication_implementation",
"system": "example_system",
"certificate": "example_certificate"
}
}API key passed in the Authorization header. Format: <api-key>
The connector identifier.
Filter results by label.
Filter results by key.
Filter results by value.
Page number for pagination.
1Number of results per page.
OK
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Too Many Requests. The rate limit for this user has been reached.
GET /api/v1/connectors/{connector}/variables HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 1,
"label": "My Label",
"key": "example_key",
"value": "example_value",
"secret": "example_secret",
"locked": "example_locked",
"configurable": "example_configurable",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"modified": "example_modified",
"pivot": "example_pivot",
"required": true,
"advanced": true,
"alias": "example_alias"
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://app.wearepatchworks.com/core-main/api/v1/connectors/{connector}/variables",
"per_page": 25,
"to": 1,
"total": 1
},
"links": {
"first": "https://app.wearepatchworks.com/core-main/api/v1/connectors/{connector}/variables?page=1",
"last": "https://app.wearepatchworks.com/core-main/api/v1/connectors/{connector}/variables?page=1",
"prev": null,
"next": null
}
}API key passed in the Authorization header. Format: <api-key>
The connector identifier.
Created
Unauthenticated
Unauthorized
Not Found. The record does not exist.
Validation Error
Too Many Requests. The rate limit for this user has been reached.
POST /api/v1/connectors/{connector}/variables HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 163
[
{
"id": "text",
"key": "text",
"label": "text",
"value": "text",
"secret": true,
"locked": true,
"pivot": {
"alias": "text",
"configurable": true,
"required": true,
"advanced": true
}
}
]{
"data": {
"id": 1,
"key": "example_key",
"value": "example_value",
"label": "My Label",
"secret": true,
"locked": true,
"modified": "example_modified",
"pivot": "example_pivot",
"configurable": true,
"required": true,
"advanced": true,
"alias": "example_alias"
}
}Last updated
Was this helpful?