דלג לתוכן הראשי
GET
/
quick-replies
curl -g "https://YOUR_PROJECT.texterchat.com/server/api/v2/quick-replies" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "total": 1,
  "quickReplies": [
    {
      "_id": "6970a1b2c3d4e5f601234567",
      "send": {
        "contents": [
          {
            "type": "text",
            "text": "Thanks for reaching out! An agent will reply shortly."
          }
        ],
        "target": [
          {
            "name": "whatsapp",
            "accountId": "972586640430"
          }
        ]
      },
      "display": {
        "position": "top",
        "title": "Greeting"
      },
      "metadata": {
        "created": 1768314807488
      }
    }
  ]
}

הרשאות

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.

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

skip
string

How many results to skip (0-100000)

limit
string

Maximum results to return (1-10000)

sortTitle
enum<string>

Sort alphabetically by display.title

אפשרויות זמינות:
asc,
desc
sortCreated
enum<string>

Sort by metadata.created. Defaults to desc

אפשרויות זמינות:
asc,
desc
sortUpdated
enum<string>

Sort by metadata.updated

אפשרויות זמינות:
asc,
desc
forChat[name]
string

Return only quick replies available for this channel type (use together with the other forChat params)

forChat[accountId]
string

Channel account ID

forChat[id]
string

Return only quick replies scoped to this chat (matches send.target[].id, the chat _id)

position
enum<string>

Filter by display position

אפשרויות זמינות:
top,
main
hasContentsType
enum<string>[]

Only quick replies that include at least one message of the listed content types

אפשרויות זמינות:
text,
media,
contacts,
location,
buttons,
list,
postback,
special

תגובה

The matching quick replies and total count. Field-by-field reference: The Quick Reply object

total
number
quickReplies
object[]