pixel

Create Api Key

Create a new pixel API key for the authenticated user.

The returned key (pk_...) should be embedded in the JS snippet on the client's website.

post/api/v1/pixel/keys

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/pixel/keys
  • Auth: HTTP bearer

Request body

labelstring nullable

Human-readable label (e.g. 'Nike Production')

domainstring nullable

Restrict key to this domain (subdomains included). Comma-separated for several, e.g. 'example.com, example.ca'

Response

Successful Response

idinteger required
api_keystring required
labelstring nullable required
domainstring nullable required
is_activeboolean required
rolestring
created_atstring date-time required

Changes

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