latestOpenAPI 3.0.32026-08-20146131.7 MB
672b1916ba61
Issuance
Add token allowlist entry
Adds an allowlist entry for a token.
post/v1/issuance/tokens/{tokenId}/allowlist
Path parameters
tokenIdstring required
Token identifier.
Example:tok_example
Token identifier.
Headers
x-project-idstring
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Example:prj_example
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Request body
Example request
{
"address": "So11111111111111111111111111111111111111112",
"label": "Treasury"
}Response
Allowlist entry added
Example response
{
"data": {
"entry": {
"id": "tal_example",
"tokenId": "tok_example",
"address": "So11111111111111111111111111111111111111112",
"label": "Treasury",
"status": "active",
"addedBy": "key_example",
"createdAt": "2025-01-01T00:00:00.000Z",
"revokedAt": "2025-02-01T00:00:00.000Z"
}
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}