Privy API

13 endpoints for Privy, 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/privy
Connects with
Your own Privy account, signed in to the business you want the agent to work in
Integration page
Privy

Read (5)

Return data and change nothing in the account.

Privy Endpoints: Read
EndpointDescription
GET /campaigns List email and SMS campaigns with status, subject, send date and results.
GET /displays List popups, flyouts, bars and other displays with status, views and signups.
GET /flows List automated flows with status, trigger and the steps they contain.
GET /segments List custom and smart segments with the number of mailable and textable contacts.
GET /contacts Search contacts, or list the members of a segment, with consent and tags.

Write (8)

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

Privy Endpoints: Write
EndpointDescription
POST /segments Create a custom segment from conditions such as Did not open a campaign.
POST /campaigns/{campaign_id}/duplicate Copy a campaign into a new draft with its own name, subject and recipients.
POST /email-campaigns Create an email campaign draft from a template, with subject and recipients.
POST /campaigns/{campaign_id}/email-campaigns Confirm Send a draft email campaign now or schedule it for a day and time.
POST /campaigns/{campaign_id}/unschedule Move a scheduled campaign back to draft.
POST /displays/{display_id}/pause Pause a live popup or other display so visitors stop seeing it.
POST /displays/{display_id}/launch Confirm Turn a paused display back on so visitors see it again.
POST /contacts/tag Confirm Add a Privy tag to contacts, or remove it from them.

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.