List destinations
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/destinations?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 id of this destination.
The name of this destination.
When the connection was created
An ordered array of steps representing the results of the last connection test. If one step fails then we won't surface details on later steps.
The name of the step in the connection test process.
The error message associated with the step, if any.
The status of the step.
Indicates if the last connection test to this destination was successful.
Timestamp of when the last connection test was conducted on this destination.
Connection details associated with this destination.
additional property
Whether this destination is a file system destination (e.g., S3, SFTP, Google Cloud Storage). When true, please provide the file path as the object full name for sync creation. See an example of an API request to create a sync to a file system destination here.
{ "status": "success", "pagination": { "total_records": 14, "per_page": 25, "prev_page": 1, "page": 2, "next_page": 3, "last_page": 10 }, "data": [ { "id": 12, "name": "Google Sheets", "created_at": "2023-07-22T23:42:47.239Z", "last_test_results": { "steps": [ { "step": "Verify connectivity", "error": { "message": "string" }, "status": "success" } ] }, "last_test_succeeded": true, "last_tested_at": "2019-08-24T14:15:22Z", "connection_details": { "account_id": "7515011393,", "account_name": "Manager Account Test" }, "is_file_system_destination": false } ] }