Connection

Get All Connections

GET
Get details of all the connection for a specific account at Revert.

Headers

x-revert-api-tokenstringRequired
Your official API key for accessing revert apis.
x-api-versionstringOptional
Optional Revert API version you're using. If missing we default to the latest version of the API.

Response

This endpoint returns a list of objects
tp_id
enum
tp_access_token
string
tp_customer_id
string
t_id
string
owner_account_public_token
string
tp_refresh_token
stringOptional
tp_account_url
stringOptional
app_client_id
stringOptional
app_client_secret
stringOptional
app
objectOptional
GET
$curl https://api.revert.dev/connection/all \
> -H "x-revert-api-token: string" \
> -H "x-api-version: string"
Response
1[
2 {
3 "tp_id": "hubspot",
4 "tp_access_token": "string",
5 "tp_customer_id": "string",
6 "t_id": "string",
7 "owner_account_public_token": "string",
8 "tp_refresh_token": "string",
9 "tp_account_url": "string",
10 "app_client_id": "string",
11 "app_client_secret": "string",
12 "app": {
13 "id": "string",
14 "tp_id": "hubspot",
15 "owner_account_public_token": "string",
16 "is_revert_app": true,
17 "scope": [
18 "string"
19 ],
20 "app_client_id": "string",
21 "app_client_secret": "string",
22 "account": {
23 "id": "string",
24 "tenant_count": 0,
25 "private_token": "string",
26 "public_token": "string",
27 "domain": "string",
28 "skipWaitlist": true,
29 "users": [
30 {
31 "id": "string",
32 "domain": "string",
33 "email": "string",
34 "accountId": "string"
35 }
36 ],
37 "apps": []
38 },
39 "connections": [
40 {
41 "tp_id": "hubspot",
42 "tp_access_token": "string",
43 "tp_customer_id": "string",
44 "t_id": "string",
45 "owner_account_public_token": "string",
46 "tp_refresh_token": "string",
47 "tp_account_url": "string",
48 "app_client_id": "string",
49 "app_client_secret": "string"
50 }
51 ],
52 "app_config": {
53 "bot_token": "string",
54 "org_url": "string"
55 }
56 }
57 }
58]