apiProvider-backed
Create email setup link
POST /api/v1/email/connections/setup-link
Create a short-lived browser link for entering SMTP and IMAP credentials securely. Secrets never pass through MCP.
Parameters
workspaceIdrequired
string
No description.
Example
REST requestbash
curl -X POST "https://app.pipeline.help/api/v1/email/connections/setup-link" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"workspaceId":"00000000-0000-4000-8000-000000000000"}'
Response
Success response schemajson schema
{"type": "object","properties": {"url": {"type": "string"},"expiresInSeconds": {"type": "integer"}},"required": ["url","expiresInSeconds"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.