Postscript API

13 endpoints for Postscript, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.

Base URL
https://cotlet.dev/api/v1/postscript
Connects with
Your own Postscript login for the shop; the agent does what your user can do in the dashboard
Integration page
Postscript

Read (6)

Return data and change nothing in the account.

Postscript Endpoints: Read
EndpointDescription
GET /segments Segments of the shop from Messaging > Segments, with their Segment Size.
GET /campaigns Campaign flows from Messaging > Flow Builder, with status and the segments they include.
GET /message-analytics Message Analytics rows per campaign and automation: sends, clicks, orders, revenue and unsubscribes.
GET /keywords Opt-in keywords from Acquisition > Keywords, with their reply.
GET /subscribers/find Subscriber profile from Search, found by phone number, name or email.
GET /conversations Threads from Messaging > Conversations, filterable by state, topic and sentiment.

Write (7)

Change the account. Calls marked Confirm wait for the user to approve them.

Postscript Endpoints: Write
EndpointDescription
POST /segments Save a segment under Messaging > Segments from criteria joined with and or or.
POST /campaigns Save a campaign flow draft with its segments and first Send Message block. Sends nothing.
POST /campaigns/{campaign_id}/previews Confirm Text a preview of a campaign message to one phone number.
POST /campaigns/{campaign_id}/schedule Confirm Activate a campaign flow immediately or at a date and time.
POST /campaigns/{campaign_id}/stop Confirm End a running campaign flow with End campaign and Stop campaign.
POST /keywords Confirm Create an opt-in keyword with a reply, optionally with a coupon.
POST /conversations/{conversation_id}/replies Confirm Send a reply in a Conversations thread with Send Reply.

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.