Connected apps
The apps each user connects through a sign-in link, and the apps they may choose from.
GET/v1/connections/{connection_id}One connection's status.
user_id names whose it is.
Request2 fields
Path
connection_idstringrequiredThe connected app's id (con_...).
- Type
string
Query
user_idstringWhose Bash: your id for the user. Absent: your company's own Bash.
- Type
string
Answers 2007 fields
object"connection"Always connection.
- Type
"connection"
idstringThe connection's id.
- Example
con_8f2k
user_idstring | nullYour id for the user; null for your company's own Bash.
- Type
string | null
appstringThe app, by its slug.
- Example
gmail
status"active" | "pending" | "initializing" | "expired" | "revoked" | "inactive" | "failed"active: Bash can use it. pending or initializing: the sign-in is not finished. expired, revoked, inactive or failed: it no longer works, and the user connects it again.
- Type
"active" | "pending" | "initializing" | "expired" | "revoked" | "inactive" | "failed"
labelstring | nullThe account's label, usually its email; null when the app gives none.
- Type
string | null
created_atstringWhen it was connected, as an ISO 8601 date and time in UTC.
- Type
string
const connection = await vestra.user('traveller-42').connect.get('con_7hs');connection = vestra.user("traveller-42").connect.get("con_7hs")No sample in your language for this route, so here it is over HTTP.
curl "$VESTRA_BASE_URL/v1/connections/{connection_id}" \ -H "Authorization: Bearer $VESTRA_API_KEY"