Skip to content

Instantly share code, notes, and snippets.

@creeefs
Created February 22, 2023 15:54
Show Gist options
  • Select an option

  • Save creeefs/937cf51b4e5a7ea6256c2927d3a833e0 to your computer and use it in GitHub Desktop.

Select an option

Save creeefs/937cf51b4e5a7ea6256c2927d3a833e0 to your computer and use it in GitHub Desktop.

IYK API Documentation

Base URL

https://api.iyk.app

Assign POAPs to Digital Twin NFTs

After creating a POAP event, you can assign the event to a linked Digital Twin token in order to emit the POAP from the corresponding physical item.

Request

HTTP Method POST
Path /poap-events/assign
API Key Header x-iyk-api-key

Request Body

{
  "contractAddress": "0x123",
  "chainId": 1,
  "tokenId": "1",
  "poapEventId": 1,
  "title": "9dcc IT-01 #001",
  "description": "Verify that you met this shirt",
  "startsAt": "2023-02-22T15:00:00Z",
  "endsAt": "2023-02-24T15:00:00Z"
}

Response

{
  "success": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment