post
https://example.com/api/token
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Register a token in Rayls Custody from its contract address.
Use this before you move or check a token from a Custody wallet: the transfer and balance endpoints take the token ID that Rayls Custody assigns here, not the contract address.
Send the token's contract address in the address field. The response gives the new token ID, plus the address, name, symbol and decimals read from the contract. Use decimals to show amounts in whole tokens.
Send the JWT from Authorize in the Authorization header as Bearer <token>. If the call fails, the API returns status 400, 404 or 500 with an error object: message, detail, errorCode, errors, path and timestamp.
