Connectors
Create Connector
REST API
- Introduction
- Models
- Connector Definitions
- Connectors
- Syncs
- Sync Runs
- Sync Records
- Reports
- Roles
- Catalogs
Connectors
Create Connector
POST
/
api
/
v1
/
connectors
curl --request POST \
--url https://api.squared.ai/api/v1/connectors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"connector": {
"name": "<string>",
"connector_type": "source",
"connector_name": "<string>",
"configuration": {}
}
}'
{
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {
"name": "<string>",
"connector_type": "<string>",
"workspace_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"configuration": {},
"connector_name": "<string>",
"icon": "<string>"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
201 - application/json
Connector created
Specific configuration of the created connector.
Was this page helpful?
curl --request POST \
--url https://api.squared.ai/api/v1/connectors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"connector": {
"name": "<string>",
"connector_type": "source",
"connector_name": "<string>",
"configuration": {}
}
}'
{
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {
"name": "<string>",
"connector_type": "<string>",
"workspace_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"configuration": {},
"connector_name": "<string>",
"icon": "<string>"
}
}
}