SoundsCareDeveloper hub Open dashboard

Quick start

Go live in five steps. Most teams finish in under an hour, most of it waiting for DNS.

  1. Sign up. Create your workspace and invite your first teammate.
  2. Add your website. Enter the site address. You get a site ID, which the widget uses to find your workspace.
  3. Verify your domain. Add one DNS record so only you can send from your domain. See how.
  4. Paste the widget. Copy the snippet into every page where you want chat. Get the snippet.
  5. Add agents. Invite the people who will answer. Roles and availability.
Want to send SMS or email from your own system? Create an API key after step 3. See API.

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

AttributeWhat it does
data-site-idRequired. Links the widget to your workspace.
data-apiOptional. Sets the SoundsCare API address the widget talks to. Leave it out unless support asks you to set it.
The widget only loads on domains you have verified. If it doesn't appear, check Verify your domain first.

Verify your domain

Verification proves you own the domain. It also lets the widget load there.

Add the DNS record

  1. In the dashboard, open Websites and choose your site. Copy the TXT record shown.
  2. Sign in to wherever you manage DNS (your registrar or host).
  3. Add a TXT record. Use the name and value exactly as shown. Don't add quotes unless your provider asks.
  4. 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

SymptomFix
Status stays PendingWait 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.comYour provider adds the domain for you. Enter only the part before your domain.
Value doesn't matchCopy the value again. Remove any spaces or line breaks at the ends.
Two TXT records conflictKeep both records. Different TXT records can live side by side.

API

Send SMS and check delivery from your own server.

Base URL, scopes and limits below are placeholders. Confirm them against your live API before publishing.

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

ScopeAllows
sms:sendSend messages with POST /sms/send
sms:readCheck 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

CodeMeaningWhat to do
400Request is missing a field or has a bad valueCheck the number format (+254…) and the message text.
401Key is missing, wrong or revokedCheck the Authorization header. Create a new key if needed.
403Key lacks the scopeAdd the scope to the key or use another key.
404Message ID not foundCheck the ID returned when you sent.
409Idempotency key reused with a different requestUse a new key for a new message.
429Too many requestsWait for Retry-After, then retry.
500Something went wrong on our sideRetry 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.

Characters: 0Segments: 0Encoding: GSM

Up to 11 letters or numbers, no spaces. Your sender name may need approval before it shows on phones.

How segments work

EncodingOne messageEach part of a longer message
Standard (GSM) characters160153
Emoji or other special characters (Unicode)7067

You pay per segment. A single emoji switches the whole message to Unicode, so it gets shorter limits.

Use Send test before you use a template. The test sends to your own number with sample values.

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.

ProviderHostPortSign-in
Gmailsmtp.gmail.com587Your address and an app password. Turn on 2-step verification first.
Zohosmtp.zoho.com587Your address and password (or app password)
Mailgunsmtp.mailgun.org587SMTP credentials from your Mailgun domain
Brevosmtp-relay.brevo.com587Your 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.

RecordWhat it doesWhere to get it
SPFLists which servers may send for your domainYour provider gives you the value to add. Keep one SPF record per domain.
DKIMSigns each message so it can't be alteredYour provider gives you a key to publish.
DMARCSays what to do when SPF or DKIM failsStart 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.

This page assumes customers receive SoundsCare events in their own function (webhooks). Event names and the signature header are placeholders. Update them once the webhook format is final.

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

  1. Store your secret: supabase secrets set SOUNDS_WEBHOOK_SECRET=your-secret
  2. Deploy: supabase functions deploy sounds-webhook --no-verify-jwt. SoundsCare can't send a Supabase login token, so the function checks your secret instead.
  3. Copy the function address from the Supabase dashboard. Paste it into the webhook address field in SoundsCare.
  4. 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

  1. Open Agents in your dashboard and select Invite agent.
  2. Enter their email and choose a role.
  3. They get an email with a link to join. Invites that aren't accepted can be resent or cancelled.

Roles

RoleCan do
OwnerEverything, including billing, exports and deleting the workspace
AdminManage agents, websites, templates and settings
DeveloperUse the Developer hub, create API keys and manage templates
AgentAnswer 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.

You'll be able to bring on trained agents from SoundsCare directly from your dashboard. Details will appear here at launch.

Contact support

Tell us what's wrong. We'll reply by email.

Before you send a ticket, check Verify your domain and the API error codes. Most issues are covered there.