דלג לתוכן הראשי
GET
/
whatsapp
/
templates
/
unsubscribed
curl -g "https://YOUR_PROJECT.texterchat.com/server/api/v2/whatsapp/templates/unsubscribed?limit=100" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
[
  {
    "title": "Eli Cohen",
    "phone": "+972549431678"
  },
  {
    "phone": "+972534226703"
  },
  {
    "title": "Texter Support",
    "phone": "+972555026806"
  }
]

הרשאות

Authorization
string
header
נדרש

API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.

פרמטרי שאילתה

limit
string

The maximum number of results to return (1-9999). Defaults to 10000

Pattern: ^[1-9][0-9]{0,3}$
skip
string

The number of results to skip before starting to return records (0-99999)

Pattern: ^[0-9]{1,5}$

תגובה

An array of unsubscribed recipients, sorted by unsubscribe date (ascending). title may be absent when the display name is unknown

phone
string
נדרש

Phone number in international format

title
string

Display name (as shown in WhatsApp or other channels)