cURL
curl --request POST \ --url https://api.matia.io/v1/integrations \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "destinationId": "<string>", "destinationSchema": "<string>", "replicationFrequency": "<string>", "onSchemaUpdate": "<string>", "enabled": true, "sourceConfig": { "type": "postgres", "name": "<string>", "authMethod": "<string>", "connection": { "username": "<string>", "password": "<string>", "hostname": "<string>", "port": 123, "database": "<string>", "slot": "<string>", "publication": "<string>" }, "connectionType": "<string>", "owners": [ "<string>" ] }, "sourceSettings": { "max_clients": 123, "incremental_mode": "<string>" } }'
{ "code": "<string>", "message": "<string>", "data": { "id": "<string>" }, "id": 123 }
Create a new integration with any supported connector
Integration created successfully
The response is of type object.
object