cURL
curl --request POST \ --url https://app.getcensus.com/api/v1/destinations/{destination_id}/connect_links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "redirect_uri": "<string>" }'
{ "status": "created", "data": { "id": 469, "type": "hubspot", "expiration": "2023-07-22T23:42:47.239Z", "expired": false, "revoked": false, "uri": "https://app.getcensus.com/pbc?auth=expiring_auth_key", "redirect_uri": "<string>", "destination_id": 123 } }
This link URI is used to reauthorize your destination.
Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.
Destination connect link created successfully
The response is of type object.
object
Was this page helpful?