Create Mongo Collection Sync

Credal lets you easily sync your MongoDB data for use in Collections and Copilots. Create a new sync from a MongoDB collection to a Credal collection.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
collectionIdUUIDRequired
mongoURIstringRequired
configobjectRequired

Response

This endpoint returns an object.
mongoCredentialIdUUID
resourceIdstring
syncLaunchedboolean