GET
/
curl \
--request GET 'https://app.getfoundation.com/api/external/v1/' \
--header "X-API-Key: $API_KEY"
Response examples (200)
{
"account_id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
"company_name": "Foundation",
"site": {
"id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
"name": "Foundation",
"subdomain": "acme-corp",
"custom_domain": "wholesale.acme-corp.com"
}
}
Response examples (401)
{
"error": "string",
"details": "string"
}