See Stacksync in action with a solution architect. Book a demo ↗
API proxies

API proxies

Get an API proxy

GET
/v1/workspaces/{workspace_id}/api-proxy/{api_proxy_id}

Its app, the connection it calls the app with, and whether it is shared with the workspace. Never its token.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

api_proxy_id*string

The API proxy.

Formatuuid

Query Parameters

region*Regions

Region of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them

Value in"besg""usnv"

Response Body

OK

application/json
  1. response
connection_id*string|null
api_proxy_id*Api Proxy Id
api_proxy_name*Api Proxy Name
api_proxy_resource_id*|

Answered by GET /api-proxy/<api_proxy_id>; null in the list, whose core does not select it

app_type*App Type
connection_name*string|null
is_shared_with_workspace*Is Shared With Workspace

Every workspace member may use the proxy, not only its creator

max_objects_per_request*|

The workspace plan's limit of objects per proxied request; null in the list

parent_folder_id*|

The folder of the proxy; null at the root, and in the list

created_by*Created By
created_time*Created Time

HTTP date (RFC 9110), UTC

last_modified_by*Last Modified By
last_modified_time*Last Modified Time

HTTP date (RFC 9110), UTC

region*Regions
Value in"besg""usnv"
Get an API proxy
curl -X GET 'https://api.stacksync.com/v1/workspaces/0/api-proxy/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=besg'
{  "connection_id": "<connection_id>",  "api_proxy_id": "<api_proxy_id>",  "api_proxy_name": "<api_proxy_name>",  "api_proxy_resource_id": "<api_proxy_resource_id>",  "app_type": "<app_type>",  "connection_name": "<connection_name>",  "is_shared_with_workspace": false,  "max_objects_per_request": 0,  "parent_folder_id": "<parent_folder_id>",  "created_by": 0,  "created_time": "<created_time>",  "last_modified_by": 0,  "last_modified_time": "<last_modified_time>",  "region": "besg"}