POST
/
api
/
addresses
curl --request POST \
  --url https://app.sandbox.rio.trade/api/addresses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "address": "0x32Be343B94f860124dC4fEe278FDCBD38C102D88",
  "crypto": "USDC",
  "userId": "66290ac8bd3903485989f82e",
  "label": "My Address"
}'
{
  "createdAt": "2024-07-25T19:57:09.812Z",
  "userId": "66562bc04fe8bf83c577c178",
  "crypto": "USDC",
  "address": "0x32Be343B94f860124dC4fEe278FDCBD38C102D88",
  "approved": false,
  "lastChecked": "2024-05-30T20:09:40.500Z",
  "label": "Crypto Address",
  "id": "6658dd0420b7daba6a25ff3a"
}

Requirements to consume the endpoint.

Create and modify role

The user must have the role to create and modify.

Authorizations

x-api-key
string
header
required

Body

application/json

Response

201
application/json

Created

The response is of type object.