List keywords

Opt-in keywords from Acquisition > Keywords, with their reply.

GET https://cotlet.dev/api/v1/postscript/keywords

read

Returns each keyword on the Keywords page with its reply text and coupon, if the reply includes one. Check it before create_keyword: every plan can use keywords, and more than two need the Growth, Professional or Enterprise plan.

Parameters

Parameters: list_keywords
NameTypeDescription
search string string Only keywords that contain this text.

Request

cURL
curl https://cotlet.dev/api/v1/postscript/keywords \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("postscript", "list_keywords")
Node.js
const result = await cotlet.call('postscript', 'list_keywords');
CLI
cotlet call postscript list_keywords

Example response

JSON

{
  "keywords": [
    {
      "keyword": "JOIN",
      "reply": "Welcome to Northwind Coffee! Reply STOP to unsubscribe.",
      "coupon": null
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.