Create a new custom integration
const url = 'https://open-api.replyco.com/openapi/account/addcustomintegration';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "name": "Acme web shop" }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://open-api.replyco.com/openapi/account/addcustomintegration \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "name": "Acme web shop" }'Creates a custom integration/account for connecting external systems.
Required fields:
- Name: Integration display name
- Marketplace: Must be set to “CustomIntegration”
Optional fields:
- ApiKey: For authentication
- ApiSecret: For secure authentication
- WebhookUrl: For receiving events
- IsActive: Enable/disable integration (default: true)
Use cases:
- Connect proprietary systems
- Integrate with unsupported marketplaces
- Build custom data pipelines
Sample request:
POST /account/addCustomIntegration
{
"name": "My Custom Store",
"marketplace": "CustomIntegration",
"apiKey": "your-api-key",
"isActive": true
}
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Custom integration configuration (ID will be auto-generated)
object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example
{ "name": "Acme web shop"}object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}object
The display name of the custom integration (e.g., “My Store”, “Legacy System”)
Indicates whether this integration is blocked/disabled. Set to “true” to disable, “false” or null to enable
object
External marketplace-specific file identifier (if applicable)
MIME type of the file (e.g., “image/png”, “application/pdf”)
Size of the file in bytes
Name of the file including extension (e.g., “logo.png”, “document.pdf”)
Server-side path where the file is stored (internal use)
Publicly accessible URL to download/view the file
Base64-encoded file content for inline upload/download
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "isBlocked": "example", "icon": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "marketFileId": "example", "mimeType": "example", "fileSize": 1, "fileName": "example", "filePath": "example", "fileUrl": "example", "base64": "example" }}Responses
Section titled “Responses”Custom integration was created successfully, returns the new ID
Example
3f1c2a9e-6b4d-4c8e-9f2a-1d5e7b3c9a06Invalid request data (e.g., missing required fields, invalid marketplace type)
User is not authenticated or authorized
User does not have permission to create integrations