LogoLogo
Our WorkHelp CenterAbout Us
  • Developer Resources
    • ⚙️Web/HTML Implementation
      • Getting Started
      • Simple HTML Example
  • Native App Implementation
  • 🛠️API Resources
    • Verify
    • Claim
    • Recover
    • Tag Verifications
  • Protocol
    • 🖼️Overview
      • Technical Specs
    • 📜Smart Contracts
      • 🔓Locking Mechanism
      • 🔓Locked721
      • 🔑Access Control Roles
      • 📃Customizing the Locked721 Contracts
    • 📏Customizations
      • 🛳️Blockchain Deployment Options
      • 🪙Digital ID Options
      • 🗞️Product Metadata Options
      • 🔐Locking Mechanism Options
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API Resources

Verify

Verify the digital signatures emitted by a NFC tag

POST /v1/tags/verify

Verifies the tag's authenticity via the unique uid, ctr, and cmac generated by each tap of the Legitimate Tag. This API will only return the success response the first time it is called with the correct tag information. Subsequent calls will return the HTTP status 422 and the error message has expired.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

uid

string (14 hex characters)

The unique ID of the tag

ctr

string (6 hex characters)

The nonce of the scan

cmac

string (20 hex characters)

The digital signature of the tag

tamper?

string (2 chars, CC for closed, OO for opened)

Tamper proof status of the tag (optional, only available with NFC tags with tamper detection capabilities)

Response

{
  uid: 'AABBCCDDEEFF00, // 16 hex characters
  verified: true,
  nft_chain_id: number, // optional
  nft_contract_address: string, // optional
  nft_token_id: number, // usually corresponds with serial_number
  name: string, // optional
  description: string, // optional
  image_url: string, // optional
  animation_url: string, // optional
  sku_id: number,
  serial_number: number, // auto assigned by order the tag is programmed in the SKU
}
{
  errors: {
    cmac: "has expired" | "is invalid",
    tag: ["could not be found"]
  }
}
PreviousAPI ResourcesNextClaim

Last updated 24 days ago

Was this helpful?

🛠️