Sandbox
1 endpoints in this family.
Get the sandbox
GET/api/v1/sandbox
The shared WhatsApp test number of Nodium, to try sending and receiving without a number of your own: send joinMessage to displayPhone from your phone (or open waLink), and your phone is linked to your account. Then send to it from channelId within its 24-hour window. available: false when the sandbox is closed on this server.
Response
The test number, your join code and your linked phones.
data.availablebooleanFalse when the sandbox is closed: every other field is then empty.
data.displayPhonestringThe shared test number, as displayed.
data.joinCodestringYour account's code.
data.joinMessagestringThe message to send from your phone to link it.
data.waLinkstringOpens WhatsApp with
joinMessagealready typed.data.channelIdstringThe sandbox channel of "My company" once a phone is linked, to send from;
nullbefore.data.linkedPhonesarrayThe phones linked to your account, with their 24-hour window.
data.limitsobjectdailyMessages,sentToday,maxPhones.
Refusals
- 403
all_clients_requiredThe key is pinned to a client.
curl https://nodium.io/api/v1/sandbox \ -H "Authorization: Bearer $NODIUM_KEY"{ "data": { "available": true, "displayPhone": "…", "joinCode": "…", "joinMessage": "…", "waLink": "…", "channelId": "…", "linkedPhones": [], "limits": {} }}