contacts
Create a contact
Changed onpost/users/me/contacts
Request
- Base URLhttps://api.dre.app (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Treasury",
"addresses": {
"evm": [
"0x0000000000000000000000000000000000000000"
],
"solana": [],
"bitcoin": []
}
}Response
Contact created
Example response
{
"addresses": {
"evm": [
"0x0000000000000000000000000000000000000000"
],
"solana": [],
"bitcoin": []
}
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
response's property type changed fromstringtoobjectfor status - info
added the new optional request property
- info
the request property
became optional - info
the request property
became optional - info
added the required property
to the response with the status
- breaking