Scope Wiser

Scope Wiser API: Managing Subscribers, Labels and Sequences

Create, read, update and delete contacts through the API, then label them, enrol them in sequences, set custom fields and manage their conversations.

Last updated Nov 15, 2026

What you'll do: keep Scope Wiser's contact list in step with whatever system you treat as the source of truth (a CRM, a shop, a booking system), using the subscriber, label, sequence and inbox endpoints.

Time: 30 minutes to wire up a first sync.

Before you start

  • ☐ You have read Scope Wiser API: Overview and Authentication for the base URL and the apiToken parameter

  • ☐ You have your phone_number_id. Every endpoint here takes phone_number_id (your WhatsApp number) and phone_number (the customer's), unless noted.

1. Look up your label and sequence ids once

  1. Call /label/list to map your own label names onto ids.

  2. Call /whatsapp/subscriber/sequence/list for sequence ids.

  3. Cache the results. Do not look them up on every request.

2. Sync a customer

A workable pattern for keeping a CRM and Scope Wiser aligned:

  1. On a new customer, call subscriber/create. Treat "already exist" as success, not an error.

  2. Write what you know with assign-custom-fields.

  3. Apply state as a label with assign-labels: trial, paid, lapsed.

  4. When state changes, remove-labels the old one before assigning the new.

  5. On a purchase, remove-sequence for any nurture they no longer belong in.

Remove old labels yourself. Nothing does this for you, and stale labels quietly ruin targeting.

Removing from sequences matters as much as adding. When an order is paid, take that customer out of the abandoned-cart sequence, otherwise they are chased for something they have already bought.

Labelling from your own system is the highest-value thing on this page. A shop that labels purchased-this-month as orders come in can send a relevant broadcast; one that does not can only message everybody.

βœ… Done when…

  • ☐ A new customer in your system appears in Scope Wiser with their custom fields and label

  • ☐ A change of state swaps the label rather than adding a second one

If something doesn't work

  • Create fails. Expect these failures: the account was not found, the subscriber already exists, or your plan's subscriber limit is full.

  • Create ignores your parameters. This endpoint alone uses camelCase: phoneNumberID and phoneNumber, not phone_number_id and phone_number.

  • A created contact gets no message. Creating a contact does not give you permission to message them, and it does not open a 24-hour window. Until they message you, only an approved template will reach them.

  • A customer is stuck mid-form. Call Reset a form (see Reference).

Reference

Reading contacts

One contact: POST β†’ /whatsapp/subscriber/get

Returns subscriber_id, chat_id, names, email, gender, created_at, the assigned agent, the bot and AI reply states, and label_names.

Many: GET or POST β†’ /whatsapp/subscriber/list

Parameter

Notes

limit

Required, up to 100

offset

Page number, from 1

orderBy

1 sorts by most recent message first; 0 keeps the default

Keep calling while nextOffset is returned. Use orderBy=1 when you want people who have been in touch lately rather than the whole list.

Creating a contact

POST β†’ /whatsapp/subscriber/create

Watch the parameter names. This endpoint alone uses camelCase:

Parameter

Notes

phoneNumberID

Not phone_number_id

phoneNumber

Not phone_number. Country code first, no +

name

Required

curl -X POST \
  'https://connect.scopewiser.com/api/v1/whatsapp/subscriber/create' \
  -d 'apiToken=API-KEY' \
  -d 'phoneNumberID=PHONE-NUMBER-ID' \
  -d 'name=NAME' \
  -d 'phoneNumber=MOBILE'

Updating and deleting

Update: POST β†’ /whatsapp/subscriber/update, with any of first_name, last_name, gender, label_ids. All optional; send only what changed.

Delete: GET or POST β†’ /whatsapp/subscriber/delete.

Delete removes the contact and their history. There is no undo, so guard it in your own code.

Reset a form: POST β†’ /whatsapp/subscriber/reset/user-input-flow. Clears a half-finished User Input Flow so the customer can start it again: the fix for someone stuck mid-form.

Labels

Labels are how Scope Wiser groups people, and they are what makes a targeted broadcast possible later. Labels, Lists and Segments covers the thinking; these are the endpoints.

Action

Endpoint

List labels

GET/POST β†’ /label/list

Create a label

GET/POST β†’ /label/create with label_name

Assign to a contact

POST β†’ /whatsapp/subscriber/chat/assign-labels with label_ids

Remove from a contact

POST β†’ /whatsapp/subscriber/chat/remove-labels with label_ids

label_ids is a comma-separated list, for example 1,4,5.

Sequences

Action

Endpoint

List sequences

GET/POST β†’ /whatsapp/subscriber/sequence/list

Enrol a contact

POST β†’ /whatsapp/subscriber/chat/assign-sequence with sequence_ids

Remove a contact

POST β†’ /whatsapp/subscriber/chat/remove-sequence with sequence_ids

Custom fields

Action

Endpoint

List the fields

POST β†’ /whatsapp/subscriber/custom-fields/list

Set values

POST β†’ /whatsapp/subscriber/chat/assign-custom-fields with custom_fields

custom_fields is a JSON object keyed by field name:

-d 'custom_fields={"customer_name":"John","customer_email":"john@example.com"}'

The list endpoint returns each field's id, name and reply_type, so you can check a field exists and holds the type you expect before writing to it. Values written here can be used in message templates and flow replies: see Bot Error Logs and Custom Fields.

Inbox actions

These do the same things your team does by hand in the Shared Inbox.

Assign a chat: POST β†’ /whatsapp/subscriber/chat/assign-to-team-member with team_member_id. Get ids from /users/team-member/list.

Mark a conversation: POST β†’ /whatsapp/subscriber/chat/mark-conversation with action, one of resolved, reopen, archived, unarchived, blocked, unblocked.

The stored status maps like this:

Value

Meaning

0

Open β€” the result of reopen, unarchived or unblocked

1

Resolved

2

Archived

3

Blocked

Add an internal note: POST β†’ /whatsapp/subscriber/chat/add-notes with note_text. Notes are for your team; the customer never sees them. Writing the order number or ticket reference here as your system creates it saves an agent hunting for it later.

Was this helpful?
Edit this page