Connections

Connect

POST

Request

This endpoint expects an object.
name
stringRequired
redirect_url
stringRequired
connection
stringOptional
organization_id
stringOptional
type
stringOptional
whitelist
list of stringsOptional

Response

This endpoint returns an object
data
objectOptional

Errors

POST
1curl -X POST https://app.polytomic.com/api/connections/connect/ \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "Salesforce Connection",
6 "redirect_url": "redirect_url"
7}'
1{
2 "data": {
3 "redirect_url": "https://example.com",
4 "token": "token"
5 }
6}