GET
/
list
/
sources
cURL
curl --request GET \
  --url https://api.usecortex.ai/list/sources \
  --header 'Authorization: Bearer <token>' \
  --header 'accept: <accept>'

Sample Request

curl --location 'https://api.usecortex.ai/list/sources?tenant_id={TENANT_ID}&sub_tenant_id={SUB_TENANT_ID}' \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'accept: application/json'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token (Firebase token)

accept
string
default:application/json
required

Response content type

Query Parameters

tenant_id
string
required

Tenant identifier

sub_tenant_id
string

Sub-tenant identifier

Response

200

List of sources returned successfully