Skip to main content

Authentication & Authorization

"X-TW-SERVICE-LINK-API-KEY": header used to indicate the API key issued for the service link. Must accompany every API call to the Trovo API

"X-TW-PUBLIC-KEY": header used to indicate the PUBLIC key of a wallet that is being accessed for operation. For registration purposes, you need to generate a new keypair for each onboarding operation.

"X-TW-SIGNER": header used to indicate the public key of the signer for the above wallet. For wallets that have not been recovered, then it is the same as the public key of the profile you are intending to create.

Error structure

{
"error": "error",
"data": "parameterAffected",
"message": "Error message"
}

Sample Error message:

{
"error": "error-invalid-primary-signer-public-key",
"data": "primarySigner",
"message": "Invalid Primary Signer Public key."
}