API Reference
Coming soon
Stay updatedUse a single endpoint and pass a method
in the JSON body.
Endpoint
POST https://sendamessage.xyz
Method: single
Send to a single wallet.
Subject to change
curl -X POST -H 'Content-Type: application/json' https://sendamessage.xyz -d '{ "method": "single", "name": "Hello", "recipientAddress": "<wallet>", "amount": 1 }'
Method: multi
Bulk send to many wallets. Partner token required.
Subject to change
curl -X POST -H 'Content-Type: application/json' -H 'Authorization: Bearer <PARTNER_API_TOKEN>' https://sendamessage.xyz -d '{ "method": "multi", "name": "Hello", "recipients": ["<wallet1>", "<wallet2>"], "amount": 1 }'
Method: raid
Create or run a coordinated campaign.
Subject to change
curl -X POST -H 'Content-Type: application/json' https://sendamessage.xyz -d '{ "method": "raid", "recipientAddress": "<target-wallet>", "description": "Campaign", "depositTx": "<solscan url or signature>", "currency": "SOL" }'
Notes
- Consumer flow: no token required for
single
sends when initiated from our UI. - Partner flow: provide
Authorization: Bearer
formulti
.