MongoDB
NoSQL document database.
Databaseapi_key_authproxy
Connect MongoDB
MongoDB uses API key authentication. Send your credentials directly via the connect endpoint:
POST /connect/v1/providers/mongodb/connect
# Headers
Authorization: YOUR_JWT_TOKEN
Content-Type: application/json
# Body
{
"credentials": { "apiKey": "your-api-key" }
}
Make API Calls via Proxy
Use the proxy endpoint to make authenticated API calls to MongoDB without managing tokens yourself. Calimatic Connect handles credential injection and token refresh automatically.
POST /connect/v1/proxy/mongodb
# Headers
Authorization: YOUR_JWT_TOKEN
Content-Type: application/json
# Body
{
"method": "GET",
"path": "/me"
}
Check Status
Verify whether your MongoDB connection is active and credentials are valid:
GET /connect/v1/providers/mongodb/status
# Headers
Authorization: YOUR_JWT_TOKEN
Disconnect
Remove the MongoDB connection and revoke stored credentials:
DELETE /connect/v1/providers/mongodb/disconnect
# Headers
Authorization: YOUR_JWT_TOKEN