> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trywildcard.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Client Data Key

> Creates an mk_live data key scoped to one existing tracked domain. The raw key is returned once. Calling again rotates and revokes the previous key; this is not an idempotent creation call. The caller authenticates with its pk_live management key.



## OpenAPI

````yaml POST /v1/partner/api-keys
openapi: 3.0.3
info:
  title: Wildcard API
  description: >
    Programmatic access to your Wildcard data — identified website visitors,

    companies, events, and analytics.


    ## Authentication

    Visitor-data endpoints require an `mk_live_...` data key in `X-API-Key`.

    Partner management endpoints under `/v1/partner/*` require your
    `pk_live_...`

    management key instead. `/v1/health` is public and requires no key.


    ```bash

    curl -H "X-API-Key: mk_live_your_key_here"
    https://api-v1.maverickintelligence.co/v1/people

    ```


    ## Data API Rate Limiting

    - **1,000 requests per hour** per customer (shared across all API keys)

    - Every response includes `X-RateLimit-Limit` and `X-RateLimit-Remaining`
    headers

    - When exceeded, you'll receive a `429` response with a `Retry-After` header


    ## Pagination

    List endpoints use cursor-based pagination. Pass the `nextCursor` from the
    response

    as the `cursor` query parameter to fetch the next page.


    ## Sorting

    Visitor lists are sorted by most recently seen first (`lastSeen`
    descending).

    Traffic pages sort by observed human and AI page views, then domain and
    path.

    Custom sorting is not yet supported — passing a `sort` or `order` query

    parameter returns `400 bad_request`. Custom sorting options will be
    available

    in a future version.
  version: 1.1.0
  contact:
    name: Wildcard Support
    email: support@trywildcard.ai
    url: https://trywildcard.ai
servers:
  - url: https://api-v1.maverickintelligence.co
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Traffic
    description: >-
      Per-page human and AI traffic, including anonymous activity and server
      collection
  - name: System
    description: API health and status
  - name: People
    description: Identified website visitors
  - name: Events
    description: Behavioral events (page views, clicks, scrolls)
  - name: Companies
    description: Companies identified from visitors
  - name: Statistics
    description: Aggregate analytics
paths:
  /v1/partner/api-keys:
    post:
      tags:
        - Partner Management
      summary: Create a client data key
      description: >-
        Creates an mk_live data key scoped to one existing tracked domain. The
        raw key is returned once. Calling again rotates and revokes the previous
        key; this is not an idempotent creation call. The caller authenticates
        with its pk_live management key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - domain
              properties:
                domain:
                  type: string
            example:
              domain: acme-stories.example.com
      responses:
        '201':
          description: Key created and shown once
          content:
            application/json:
              schema:
                type: object
                properties:
                  key:
                    type: string
                  keyId:
                    type: string
                  domain:
                    type: string
                  clientRef:
                    type: string
                  keyPrefix:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  rotated:
                    type: boolean
        '403':
          description: Partner access unavailable
        '404':
          description: Domain not found in this partner account
      security:
        - PartnerKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key in format: mk_live_{40 hex chars}'
    PartnerKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Partner management key (pk_live_...) from Partner Dashboard. Server-side
        use only; not a visitor-data key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.