Create Connector SDK Package
Uploads a new Connector SDK package to your Fivetran account. The package must be a ZIP file containing your custom connector code. You can create the package ZIP file using the fivetran package command.
After creating a package, use the standard Create a Connection endpoint with the returned id as package_id in the config.
NOTE: Each package can only be associated with one connection at a time.
Request schema
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
The ZIP file containing the Connector SDK package.
POST /v1/connector-sdk/packages HTTP/1.1 Accept: application/json Authorization: BasicContent-Type: multipart/form-data; boundary=---011000010111000001101001 Host: api.fivetran.com Content-Length: 115 -----011000010111000001101001 Content-Disposition: form-data; name="file" {} -----011000010111000001101001--
Responses
201
Response status code
Response status text
The unique identifier for the Connector SDK package.
The unique identifier of the user who last updated the package.
The timestamp when the package was created.
The unique identifier of the user who created the package.
The connection identifier associated with this package. Each package can only be associated with one connection at a time. Returns null if the package is not yet associated with any connection.
The timestamp when the package was last updated.
{ "code": "Success", "message": "Operation performed.", "data": { "id": "package_id", "last_updated_by": "user_id", "created_at": "2024-01-14T19:30:00Z", "created_by": "user_id", "connection_id": "connection_id", "updated_at": "2024-01-14T20:15:00Z" } }