App Connections
Retrieve an app connection
Returns an app connection
GET
/
v5
/
app
/
app_connections
/
{id}
Authorization
Path
curl --request GET \
--url https://api.whop.com/api/v5/app/app_connections/{id} \
--header 'Authorization: <authorization>'
{
"app_id": "<string>",
"company_id": "<string>",
"created_at": 123,
"id": "<string>",
"resource_id": "<string>",
"resource_type": "product",
"view_type": "customer_before_checkout_view"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredThe ID of the app connection, which will look like apco_*************
Response
200 - application/json
app_id
string
requiredThe ID of the app, which will look like app_*************
company_id
string
requiredThe ID of the company, which will look like biz_*************
created_at
number
requiredThe date the billing usage was created as a unix timestamp.
id
string
requiredThe ID of the app connection, which will look like apco_*************
resource_id
string
requiredThe ID of the polymorphic resource for the connection. Ex. a product ID like prod_*************.
resource_type
enum<string>
requiredThe type of the polymorphic resource for the connection. Ex. 'product'
Available options:
product
view_type
enum<string>
requiredThe type of view for the connection.
Available options:
customer_before_checkout_view
Was this page helpful?
curl --request GET \
--url https://api.whop.com/api/v5/app/app_connections/{id} \
--header 'Authorization: <authorization>'
{
"app_id": "<string>",
"company_id": "<string>",
"created_at": 123,
"id": "<string>",
"resource_id": "<string>",
"resource_type": "product",
"view_type": "customer_before_checkout_view"
}