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
| Name | Type | Description |
|---|---|---|
| search string | string | Only keywords that contain this text. |
Request
curl https://cotlet.dev/api/v1/postscript/keywords \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("postscript", "list_keywords") const result = await cotlet.call('postscript', 'list_keywords'); cotlet call postscript list_keywords Example response
{
"keywords": [
{
"keyword": "JOIN",
"reply": "Welcome to Northwind Coffee! Reply STOP to unsubscribe.",
"coupon": null
}
]
}