Auth

Generate API Key

Generate your API key. If you already have an active key, the existing one is returned. You can only have one active API key at a time.

POST/nfthing/api-key/generate

Headers

FieldTypeRequiredDescription
AuthorizationstringYesBearer token for JWT authentication.
Content-TypestringYesMust be application/json.

Example response

200 OK
{
  "success": true,
  "message": "API key generated successfully",
  "data": {
    "api_key": "nfthing_928d68b3f3414067ad2856af39cc603b",
    "created_at": "2026-02-13T14:07:02.292219"
  }
}

Notes

  • Save your API key securely — you'll need it for all campaign operations.