Skip to main content
POST
/
custodians
/
me
/
alerts
/
webhooks
/
external-addresses
Create an external address
curl --request POST \
  --url https://api.portalhq.io/api/v3/custodians/me/alerts/webhooks/external-addresses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "0x1234567890abcdef1234567890abcdef12345678",
  "namespace": "eip155"
}
'
{
  "data": {
    "id": "cm4voycw2001f68veade3tr0i",
    "address": "0x1234567890abcdef1234567890abcdef12345678",
    "namespace": "EIP155",
    "createdAt": "2025-01-15T10:30:00.000Z",
    "updatedAt": "2025-01-15T10:30:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Portal API Key (Custodian API Key). Pass as a Bearer token in the Authorization header.

Body

application/json
address
string
required

The blockchain address to monitor. Must be a valid address for the selected namespace.

namespace
enum<string>
required

The blockchain namespace of the address.

  • eip155 for EVM-compatible addresses
  • solana for Solana addresses
Available options:
eip155,
solana

Response

External address created successfully

data
object