With your consent, we measure how people use our site and which campaigns bring them here, and identify visiting companies so our team can follow up. Privacy Policy

Tools and providers
  • Plausible · Analytics, only after Accept

    Counts visits and which campaigns bring them.

    Stores nothing on your device. The identifier it uses to count unique visitors changes every 24 hours.

  • Leadfeeder · Marketing, only after Accept

    Identifies the company you may be browsing from, so our sales team can follow up.

    Leadfeeder data is kept for 12 months in our Leadfeeder account. What it keeps on your device is listed below.

    _lfa, _lfa_expiry · Cookie and local storage
    A visitor ID. The cookie is kept for 1 year. The local storage copy is not used after 1 year and stays until you clear it. Withdrawing removes both.
    _lfa_consent · Cookie and local storage
    Records that you accepted. The cookie is kept for 1 year, the local storage copy until you clear it. Withdrawing removes both.
    ldfdr_opt_out, ldfdr_opt_out_expiry · Cookie and local storage
    Set when you withdraw after accepting, or your Accept runs out on an open page, so Leadfeeder stays off. The cookie is kept for 10 years, or until you close your browser if Leadfeeder never loaded. The local storage copy stays until you clear it. Accepting again removes both.
    _lfa_test_cookie_stored · Cookie
    Checks that your browser accepts cookies. Deleted straight away.
  • Outpost · Always, to remember your choice

    Keeps your choice, so we do not ask on every page.

    outpost-consent · Local storage
    Your choice, when you made it, the version of this notice and a random ID. We do not store the ID on our side. Your choice applies for 365 days, then we ask again. The entry stays on your device until you clear it or make a new choice.
    outpost-consent-declined · Cookie
    Records when you rejected, only if your browser cannot save your choice. Kept for 365 days.

Authentication

Outpost uses OAuth2 client_credentials for server-to-server calls. Your backend exchanges a client_id and api_token for an access_token, then sends it as a Bearer token on every API request.

Create and manage your API credentials in the Outpost merchant portal. Your credentials are scoped to your own merchant account.

Need a client_id and api_token first? Complete Account setup in the app portal.

Flow

  1. Request an access_token with your client_id and api_token
  2. Read access_token and expires_in from the response
  3. Cache the token server-side with TTL expires_in - 300s
  4. Refresh on expiry or on a 401, then retry the request once
  5. Send Authorization: Bearer <access_token> on every API call

Get access token

POST/oauth2/token

Host: https://access.outpostanywhere.com

Do not send token requests to the API host (https://api.outpostanywhere.com).

Send your api_token as the OAuth client_secret form field - that is the wire name for this grant.

Request

curl -X POST \
  "https://access.outpostanywhere.com/oauth2/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials" \
  -d "client_id=YOUR_CLIENT_ID" \
  -d "client_secret=$OUTPOST_API_TOKEN" | jq

Response

{
  "access_token": "<JWT>",
  "expires_in": 86400,
  "token_type": "Bearer"
}

Run from your server. Never expose your api_token in the browser.