SiteSwapDevelopers
API reference: Companies

Get your company

GEThttps://dev.siteswap.pro/api/v1/company

The company this key or sign-in works for, the role of the person behind it, and what the key may do.

Needs an API key or sign-in token in Authorization: Bearer or X-API-Key. Authentication

Responses

200OK
400bad_request, key_in_url or invalid_json: the request could not be read
401missing_key or invalid_key: no key, or a key that is not valid or was revoked
403key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
404not_found: nothing here that you may see
413too_large: the body is over 256 KB
429rate_limited or daily_quota: wait for Retry-After seconds

Response fields

slugstringrequired
The company's address on SiteSwap, /c/{slug}
namestringrequired
kindstringrequired
What kind of company, for example contractor or supplier
urlstringrequired
Its public page
idstringrequired
The company's id
your_rolestringrequired
The role of the person behind this key or sign-in
acting_as"key" | "person"required
key for an API key, person for a sign-in token
scopesstring[]required
What this key may do
listingsobjectrequired
listings.activeintegerrequired
listings.pausedintegerrequired
SiteSwap API v1Support