Quick start
Go live in five steps. Most teams finish in under an hour, most of it waiting for DNS.
- Sign up. Create your workspace and invite your first teammate.
- Add your website. Enter the site address. You get a site ID, which the widget uses to find your workspace.
- Verify your domain. Add one DNS record so only you can send from your domain. See how.
- Paste the widget. Copy the snippet into every page where you want chat. Get the snippet.
- Add agents. Invite the people who will answer. Roles and availability.
Widget install
One script tag puts SoundsCare chat on your site.
Embed snippet
Paste this before the closing </body> tag on every page. Replace YOUR_SITE_ID with the site ID from your dashboard.
<script
src="https://www.sounds.co.ke/widget.js"
data-site-id="YOUR_SITE_ID"
async></script>
Options
| Attribute | What it does |
|---|---|
data-site-id | Required. Links the widget to your workspace. |
data-api | Optional. Sets the SoundsCare API address the widget talks to. Leave it out unless support asks you to set it. |
Verify your domain
Verification proves you own the domain. It also lets the widget load there.
Add the DNS record
- In the dashboard, open Websites and choose your site. Copy the TXT record shown.
- Sign in to wherever you manage DNS (your registrar or host).
- Add a TXT record. Use the name and value exactly as shown. Don't add quotes unless your provider asks.
- Save, then select Check status in the dashboard.
Check status
Status changes to Verified as soon as the record is visible. DNS changes can take from a few minutes to a few hours. You can also check from a terminal:
dig TXT yourdomain.com +short
Common failures
| Symptom | Fix |
|---|---|
| Status stays Pending | Wait up to a few hours, then check again. Confirm the record was saved at the root domain, not a subdomain. |
Name appears twice, like _sounds.yourdomain.com.yourdomain.com | Your provider adds the domain for you. Enter only the part before your domain. |
| Value doesn't match | Copy the value again. Remove any spaces or line breaks at the ends. |
| Two TXT records conflict | Keep both records. Different TXT records can live side by side. |
API
Send SMS and check delivery from your own server.
Authentication
Create a key in API keys in your dashboard. Send it as a bearer token. Keep it on your server. Never put it in browser code or a mobile app.
Authorization: Bearer YOUR_API_KEY
Scopes
| Scope | Allows |
|---|---|
sms:send | Send messages with POST /sms/send |
sms:read | Check delivery with GET /sms/status/{id} |
Give each key only the scopes it needs. Revoke a key at any time from the dashboard.
Send an SMS
Add an Idempotency-Key header with a unique value per message. If your request times out, retry with the same key and the message sends only once.
curl -X POST https://api.sounds.co.ke/v1/sms/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: order-1042-confirm" \
-H "Content-Type: application/json" \
-d '{"to":"+254700000000","message":"Hi Amina, your order is on its way."}'const res = await fetch("https://api.sounds.co.ke/v1/sms/send", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.SOUNDS_API_KEY,
"Idempotency-Key": "order-1042-confirm",
"Content-Type": "application/json"
},
body: JSON.stringify({
to: "+254700000000",
message: "Hi Amina, your order is on its way."
})
});
const data = await res.json();$ch = curl_init("https://api.sounds.co.ke/v1/sms/send");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("SOUNDS_API_KEY"),
"Idempotency-Key: order-1042-confirm",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"to" => "+254700000000",
"message" => "Hi Amina, your order is on its way.",
]),
]);
$data = json_decode(curl_exec($ch), true);Check delivery status
curl https://api.sounds.co.ke/v1/sms/status/MSG_ID \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch("https://api.sounds.co.ke/v1/sms/status/" + id, {
headers: { "Authorization": "Bearer " + process.env.SOUNDS_API_KEY }
});
const { status } = await res.json();$ch = curl_init("https://api.sounds.co.ke/v1/sms/status/" . $id);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("SOUNDS_API_KEY")],
]);
$status = json_decode(curl_exec($ch), true)["status"];Rate limits
Requests over your limit get a 429 response. Wait for the number of seconds in the Retry-After header, then try again.
Error codes
| Code | Meaning | What to do |
|---|---|---|
| 400 | Request is missing a field or has a bad value | Check the number format (+254…) and the message text. |
| 401 | Key is missing, wrong or revoked | Check the Authorization header. Create a new key if needed. |
| 403 | Key lacks the scope | Add the scope to the key or use another key. |
| 404 | Message ID not found | Check the ID returned when you sent. |
| 409 | Idempotency key reused with a different request | Use a new key for a new message. |
| 429 | Too many requests | Wait for Retry-After, then retry. |
| 500 | Something went wrong on our side | Retry with the same idempotency key. |
SMS templates
Write a message once, then fill in the details for each customer.
Variables
Wrap a variable in double curly braces, like {{name}}. SoundsCare swaps it for the customer's real value when the message sends.
Up to 11 letters or numbers, no spaces. Your sender name may need approval before it shows on phones.
How segments work
| Encoding | One message | Each part of a longer message |
|---|---|---|
| Standard (GSM) characters | 160 | 153 |
| Emoji or other special characters (Unicode) | 70 | 67 |
You pay per segment. A single emoji switches the whole message to Unicode, so it gets shorter limits.
Email / SMTP
Send email from your own address through your email provider.
Provider setup
Open Email & SMS in your dashboard and enter your provider's SMTP details.
| Provider | Host | Port | Sign-in |
|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | Your address and an app password. Turn on 2-step verification first. |
| Zoho | smtp.zoho.com | 587 | Your address and password (or app password) |
| Mailgun | smtp.mailgun.org | 587 | SMTP credentials from your Mailgun domain |
| Brevo | smtp-relay.brevo.com | 587 | Your login and an SMTP key |
Check your provider's current settings if a connection fails. Hosts and ports can change.
SPF, DKIM and DMARC
These three DNS records tell inboxes that your email is real. Without them, messages often land in spam.
| Record | What it does | Where to get it |
|---|---|---|
| SPF | Lists which servers may send for your domain | Your provider gives you the value to add. Keep one SPF record per domain. |
| DKIM | Signs each message so it can't be altered | Your provider gives you a key to publish. |
| DMARC | Says what to do when SPF or DKIM fails | Start with v=DMARC1; p=none, then tighten once mail flows cleanly. |
Email template
Edge functions
Receive SoundsCare events in a function you run in your own Supabase project.
What you need
- A Supabase project you control
- The Supabase CLI, signed in
- A webhook secret from API keys in your SoundsCare dashboard
Create the function
supabase functions new sounds-webhook
// supabase/functions/sounds-webhook/index.ts
Deno.serve(async (req) => {
const secret = Deno.env.get("SOUNDS_WEBHOOK_SECRET");
if (req.headers.get("x-sounds-secret") !== secret) {
return new Response("Unauthorized", { status: 401 });
}
const event = await req.json(); // e.g. { type: "conversation.created", ... }
console.log("SoundsCare event:", event.type);
return new Response("ok"); // reply fast, do heavy work after
});
Deploy and connect
- Store your secret:
supabase secrets set SOUNDS_WEBHOOK_SECRET=your-secret - Deploy:
supabase functions deploy sounds-webhook --no-verify-jwt. SoundsCare can't send a Supabase login token, so the function checks your secret instead. - Copy the function address from the Supabase dashboard. Paste it into the webhook address field in SoundsCare.
- Send a test event from SoundsCare. Check the function logs in Supabase.
Want to call SoundsCare from your function instead, for example to send SMS? Use the API and keep your API key in function secrets.
Security & privacy
Your customers' data stays yours, and stays separate from everyone else's.
Workspace isolation
Every workspace's data is separated at the database level with row-level security. A person signed in to one workspace can't read or change another's records, whatever they request.
Key handling
- Show keys once. Copy a new key when you create it and store it in a secrets manager.
- Keep keys on servers only. Never put them in widget code, web pages or apps.
- Use the smallest scope that works, and a separate key per system.
- Revoke a key from the dashboard the moment you suspect it leaked, then create a new one.
Support access
SoundsCare support can't open your workspace unless you allow it. When you need help, grant access for a set time from Settings. You can see active grants and remove them at any time.
Export and deletion
Owners can export workspace data, such as conversations and contacts, from Settings. Owners can also request deletion of the workspace and its data. Deletion can't be undone, so export first.
Agents & roles
Invite the people who answer customers and decide what each can do.
Invite an agent
- Open Agents in your dashboard and select Invite agent.
- Enter their email and choose a role.
- They get an email with a link to join. Invites that aren't accepted can be resent or cancelled.
Roles
| Role | Can do |
|---|---|
| Owner | Everything, including billing, exports and deleting the workspace |
| Admin | Manage agents, websites, templates and settings |
| Developer | Use the Developer hub, create API keys and manage templates |
| Agent | Answer conversations and tickets |
The Developer hub inside the dashboard is visible to owners, admins and developers.
Availability
Each agent sets themselves Available or Away. New conversations go to available agents. When nobody is available, customers can leave a message instead.
Hire agents
Coming in the next phase.
Contact support
Tell us what's wrong. We'll reply by email.