Guides
Companies and profiles
Your own company, and other companies' public profiles.
GET /company answers the company the key works for, the role of the person behind it, and the key's scopes. Use it to check a key is set up right.
GET /companies/{slug} answers another company's public profile: what its page on SiteSwap shows, never more. A company that changed its address is found by the old one too.
curl -H "X-API-Key: ssk_YOUR_KEY" https://dev.siteswap.pro/api/v1/companies/acme-site-work
curl -H "X-API-Key: ssk_YOUR_KEY" "https://dev.siteswap.pro/api/v1/listings?marketplace=materials&company=acme-site-work"A suspended or closed company answers 404.
SiteSwap API v1Support