Get a token
curl --request GET \
--url https://partners-api.sandbox.securitize.io/corporate-actions/v1/tokens/{tokenId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://partners-api.sandbox.securitize.io/corporate-actions/v1/tokens/{tokenId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://partners-api.sandbox.securitize.io/corporate-actions/v1/tokens/{tokenId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"tokenId": "7f3b2c10-5d4e-4a6b-9c8d-1e2f3a4b5c6d",
"assetId": "c0a8e2f4-1b3d-4e5f-8a9b-0c1d2e3f4a5b",
"chainId": "eip155:196",
"contractAddress": "0x5ec0a3f1c9d84b27e6f0a1b2c3d4e5f6a7b8c9d0",
"name": "Apple Inc. CET",
"status": "ACTIVE",
"decimals": 18,
"asset": {
"assetId": "c0a8e2f4-1b3d-4e5f-8a9b-0c1d2e3f4a5b",
"name": "Apple Inc. CET",
"underlying": {
"issuerName": "Apple Inc.",
"ticker": "AAPL",
"isin": "US0378331005",
"mic": "XNAS",
"lei": "HWUPKR0MPOU8FGXBT394"
},
"status": "ACTIVE"
}
}{
"error": "UNAUTHORIZED",
"message": "Missing or unknown partner identity",
"statusCode": 401
}{
"error": "TOKEN_NOT_FOUND",
"message": "No token with id '7f3b2c10-5d4e-4a6b-9c8d-1e2f3a4b5c6d'",
"statusCode": 404
}Tokens
Get a token
One of your CET tokens, with its asset’s reference data. A token outside your account answers 404, the same as an unknown id.
GET
/
tokens
/
{tokenId}
Get a token
curl --request GET \
--url https://partners-api.sandbox.securitize.io/corporate-actions/v1/tokens/{tokenId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://partners-api.sandbox.securitize.io/corporate-actions/v1/tokens/{tokenId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://partners-api.sandbox.securitize.io/corporate-actions/v1/tokens/{tokenId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"tokenId": "7f3b2c10-5d4e-4a6b-9c8d-1e2f3a4b5c6d",
"assetId": "c0a8e2f4-1b3d-4e5f-8a9b-0c1d2e3f4a5b",
"chainId": "eip155:196",
"contractAddress": "0x5ec0a3f1c9d84b27e6f0a1b2c3d4e5f6a7b8c9d0",
"name": "Apple Inc. CET",
"status": "ACTIVE",
"decimals": 18,
"asset": {
"assetId": "c0a8e2f4-1b3d-4e5f-8a9b-0c1d2e3f4a5b",
"name": "Apple Inc. CET",
"underlying": {
"issuerName": "Apple Inc.",
"ticker": "AAPL",
"isin": "US0378331005",
"mic": "XNAS",
"lei": "HWUPKR0MPOU8FGXBT394"
},
"status": "ACTIVE"
}
}{
"error": "UNAUTHORIZED",
"message": "Missing or unknown partner identity",
"statusCode": 401
}{
"error": "TOKEN_NOT_FOUND",
"message": "No token with id '7f3b2c10-5d4e-4a6b-9c8d-1e2f3a4b5c6d'",
"statusCode": 404
}Authorizations
Path Parameters
Response
The token and its asset.
One CET token on one chain.