How do I obtain the token ID?

As an important part of using many of the Tokens APIs, you need to know the tokenId of the particular token. This page aims to help you figure out what your token's ID is.

From the web app

From your profile page

If you navigate to your profile page and click on a particular Kudos, you should be able to find the tokenId in the URL. It should be in the form https://mintkudos.xyz/profile/<username>?tab=<XXX>&tokenId=<tokenId>.

From the community page

If you navigate to the community page and click on a particular Kudos, you should be able to find the tokenId in the URL. It should be in the form https://mintkudos.xyz/community/<communityDisplayId>?tab=<XXX>&tokenId=<tokenId>.

From the API

On creation of the Kudos

If you created a Kudos token via the [Async] POST /tokens endpoint, you should've received an operations URL so you can track the status of your asynchronous creation process. When hitting the GET /operations/:operationId endpoint, you should receive a non-null resourceId if the operation is successful. This is your tokenId.

Via the Wallets API

If you're looking through what tokens a given wallet has by using the GET /wallets/:address/tokens endpoint, each item in the response data array should have a kudosTokenId value. This is your tokenId.