Website components

The chosen company (ends the session; counts one request)

The register details a form fills in. Counts one request against your plan once per session: the same company again in the same session is free (a double click or a retry).

get/elements/v1/select/{number}

Request

  • Base URL: https://api.companystack.co.uk
  • URL: https://api.companystack.co.uk/elements/v1/select/{number}
  • Auth: one of:
    • API key in query parameter key
    • HTTP bearer

Path parameters

numberstring required

Company number

Query parameters

sessionstring uuid required

A random UUID the component makes when the search box gets focus. Suggestions inside a session are free; the selection that ends it counts one request.

keystring

Your publishable key, from a web page on one of the key's websites. From your own server, send your secret key in Authorization instead (proxy mode).

tokenstring

A short-lived token your server minted with POST /elements/v1/tokens: works only on its website, for its scopes and companies, for at most 15 minutes. Send a key, a token or a secret key, never two.

Response

The company

as_ofstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.