cURL
curl --request POST \ --url https://api.squared.ai/api/v1/catalogs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "connector_id": 6, "catalog": { "json_schema": { "key": "value" } } }'
{ "id": 123, "connector_id": 6, "workspace_id": 2, "catalog": { "json_schema": { "key": "value" } }, "created_at": "2023-08-20T15:28:00Z", "updated_at": "2023-08-20T15:28:00Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object
Was this page helpful?