Auth

Create a publishable key

A live key needs at least one website. Test keys also work from localhost and count at most 100 requests a day.

post/auth/publishable-keys

Request

  • Base URL: https://api.companystack.co.uk
  • URL: https://api.companystack.co.uk/auth/publishable-keys
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key

Request body

namestring
mode'live' | 'test'
allowed_originsstring[]

https://www.example.co.uk, or https://*.example.co.uk for every subdomain

daily_capinteger nullable

Most requests the key may count in a UTC day

Response

The new key

Changes

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