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

# Complete key reset — get new API key

> **No auth required.**

Called automatically when you click the reset link in the forgot-key email. Validates the one-time token, generates a new API key, transfers your credits to it, and returns the new key. The old key is immediately invalid. Token expires in 10 minutes.



## OpenAPI

````yaml /openapi.json get /keys/reset
openapi: 3.0.3
info:
  title: Huntr — The GTM Intelligence API
  description: >-
    Give AI agents company, people, contact, and web intelligence through one
    API. Search accounts, build targeted lists, enrich leads, find contacts, and
    uncover buying signals.


    **Authentication:** Authenticated endpoints require an `x-api-key` header
    with your Huntr API key. Get a key by signing up via `POST /keys/create`.
    Public endpoints (pricing, sign-up, health) work without a key.


    **Rate limit:** 5 requests/second per API key on authenticated endpoints.
  version: 2.0.0
servers:
  - url: https://api.tryhuntr.com
security: []
tags:
  - name: Research
    description: >-
      Research one company, person, team, or focused business question and
      return a sales-ready answer. Lite, standard, and deep tiers.
  - name: Companies
    description: >-
      Search companies and enrich firmographics. Per-result pricing on search;
      count endpoints are free.
  - name: People
    description: >-
      Search people and enrich contacts — work email, phone, and related lookup
      endpoints.
  - name: LinkedIn
    description: >-
      LinkedIn URL discovery, company and profile pages, posts, reactions, and
      comments.
  - name: X
    description: X profiles, posts, search results, and thread context.
  - name: Web
    description: >-
      Find and analyze pages on a domain, plus tech stack, domain contacts, and
      job postings.
  - name: Account
    description: >-
      Sign up, verify email, recover keys, check balance, view usage, add
      credits, and read the public pricing matrix.
  - name: System
    description: Health check.
paths:
  /keys/reset:
    get:
      tags:
        - Account
      summary: Complete key reset — get new API key
      description: >-
        **No auth required.**


        Called automatically when you click the reset link in the forgot-key
        email. Validates the one-time token, generates a new API key, transfers
        your credits to it, and returns the new key. The old key is immediately
        invalid. Token expires in 10 minutes.
      parameters:
        - name: token
          in: query
          required: true
          schema:
            type: string
          description: >-
            One-time reset token from the email link. Expires in 10 minutes and
            is invalidated after first use.
      responses:
        '200':
          description: New API key issued. Credits transferred from the old key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_key:
                    type: string
                    description: >-
                      Your new API key. Pass as x-api-key on all future
                      requests. Store it securely — it is shown only once.
                  credits:
                    type: number
                    description: Balance transferred from your old key in USD.
                  message:
                    type: string
                    description: Confirmation message.
              example:
                api_key: hntr_live_xxxxxxxxxxxx
                credits: 3.42
                message: API key reset successfully. Credits preserved.
        '400':
          description: >-
            Invalid or expired reset token. Request a new one via POST
            /keys/forgot.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
      required:
        - error

````