List destination connect links
This endpoint returns details for all active and expired connect links in the current workspace. Read more on how to use Connect links in our Census Embedded How-to Guides.
Request schema
Query parameters
Designates which page of results to return. Always starts at 1. If 0 is specified, it defaults to 1.
Determines the number of results on each page. It can't exceed 100.
Organizes the results based on their creation time, either ascending or descending.
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
GET /api/v1/destination_connect_links?page=SOME_NUMBER_VALUE&per_page=SOME_NUMBER_VALUE&order=SOME_STRING_VALUE HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
The outcome of the request
An object to help you navigate the list of results.
Total records in the collection.
Records on each page.
The previous page number, or null for the first page.
The current page number.
The next page number, or null if it's the last page.
The number of the last page with records.
The list of results.
The unique ID associated with the Connect Link.
The type of destination connection to be managed by this link. A valid type is the service_name of a connector returned from the /connectors endpoint, where the connector is marked as creatable_via_connect_link.
The date and time when the Connect Link will expire.
A boolean value indicating whether the Connect Link has expired or not. Expiration settings can be adjusted in the Organization Dashboard.
A boolean value indicating whether the Connect Link has been revoked or not.
The authorization url that you will provide to end-users that begins the Census-hosted flow to authorize a destination into your workspace.
The redirect URI, if any, associated with the Connect Link. The URL that you'd like the end-user to be redirected to after authorizing the destination. We do not forward the OAuth code or token to this url. The redirect URI can be configured globally under your organization settings in the Census UI or on dynamically via the API when creating a Connect Link.
The ID of the destination, if any, created or updated from this connect link.
{ "status": "success", "pagination": { "total_records": 14, "per_page": 25, "prev_page": 1, "page": 2, "next_page": 3, "last_page": 10 }, "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": "http://example.com", "destination_id": 0 } ] }