Connections
Connect
Changed onCreates a Polytomic Connect session and returns a URL for creating or reconnecting a Connection.
Open the returned URL, or send it to the person who will set up the Connection. Polytomic Connect guides them through authentication and configuration, then redirects them to redirect_url.
Each session can create or reconnect one Connection.
See also:
- Embedding authentication, a guide to using Polytomic Connect.
post/api/connections/connect/
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Headers
X-Polytomic-Versionstring
Request body
Example request
{
"connection": "248df4b7-aa70-47b8-a036-33ac447e668d",
"name": "Salesforce Connection",
"organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"ttl": 300,
"type": "salesforce"
}Response
OK
Example response
{
"data": {
"redirect_url": "https://app.polytomic.com/polytomic-connect?token=token",
"token": "token"
}
}Changes
- info
the request property
became optional
- info
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking