keys

Create API key

Creates an API key record for an internal integration. The key value is returned in the response and remains available from the admin key list/detail endpoints.

Try It (Internal/Admin)

  1. Use a controlled test email/label in non-production first.
  2. POST a JSON body with email and label.
  3. Store the returned key in the integration that will use it.
post/keys/create

Request

  • Base URL: https://api.leisurevans.com
  • URL: https://api.leisurevans.com/keys/create
  • Auth: one of:
    • API key in cookie myltv.session_token
    • HTTP bearer

Request body

emailstring email required
labelstring required

Response

API key created.

requestIdstring uuid required

Example response

{
  "data": {
    "id": "3f8b4b8e-5ecf-46c3-b85f-53a8d85f4333",
    "email": "integrations@example.com",
    "label": "HubSpot Sync",
    "key": "redacted",
    "createdAt": "2026-09-21T12:00:00.000Z"
  },
  "requestId": "0d8b5744-7544-4bb0-8f95-65be635315d8"
}

Changes

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