GET
/
app_accounts
/
{account_id}
/
proxy
Proxy GET request to connected app account
curl --request GET \
  --url https://app.kapso.ai/api/v1/app_accounts/{account_id}/proxy \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "channels": [
    {
      "id": "C123",
      "name": "general"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Headers

X-Target-URL
string<uri>

Alternative way to specify target URL via header

Example:

"https://slack.com/api/conversations.list"

X-PD-Proxy-*
string

Custom headers to forward to the target API. Use X-PD-Proxy- prefix. Example: X-PD-Proxy-Content-Type will be forwarded as Content-Type

Path Parameters

account_id
string
required

The Pipedream account ID for the connected app

Example:

"apn_1234567"

Query Parameters

url
string<uri>
required

The target API endpoint URL

Example:

"https://slack.com/api/conversations.list"

Response

200
application/json

Successful proxy request

Response from the target API