docs.manob.ai
Toggle Sidebar

Verify License

Verify whether a purchase license key is valid. Use this endpoint before unlocking downloads, premium features, or support access in your application.

Requirements

  • A license key is required.
  • A valid API token may be required depending on your environment.

Usage

Request

  • Method: POST
  • Path: /license-verify
  • Base URL: https://api.manob.ai/inv/v1

Request Body

| Name | Type | Required | Example | Description | |------|------|----------|---------|-------------| | license_key | string | Yes | 1e2b7880-b747-42dd-ac01-530358272abf | The license key provided after purchase. |

Example

curl -X POST "https://api.manob.ai/inv/v1/license-verify" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer <token>" \
	-d '{
		"license_key": "1e2b7880-b747-42dd-ac01-530358272abf"
	}'

Response

201 Created

Returns a standard API envelope and license verification result in data.

Example:

{
	"status": true,
	"path": "/v1/license-verify",
	"statusCode": 201,
	"message": "Success",
	"data": {
		"product_id": "9cb18194-920d-4df7-8182-103cba7a2ad7",
		"license_start_date": "2025-06-03T11:05:53.776Z",
		"license_end_date": "2027-01-02T06:07:20.486Z",
		"product_image": "public/PRODUCT/1748946308165.png",
		"is_valid": true,
		"verified_as": "BUYER"
	}
}

Notes

  • If the key is invalid, data.is_valid is false.
  • license_start_date and license_end_date are ISO date strings.
  • verified_as indicates the role under which the key was verified (for example: BUYER).
  • Cache verification responses for short periods to reduce repeated verification calls.