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.
| Endpoint | Description |
|---|---|
| GET | List email and SMS campaigns with status, subject, send date and results. |
| GET | List popups, flyouts, bars and other displays with status, views and signups. |
| GET | List automated flows with status, trigger and the steps they contain. |
| GET | List custom and smart segments with the number of mailable and textable contacts. |
| GET | 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.
| Endpoint | Description |
|---|---|
| POST | Create a custom segment from conditions such as Did not open a campaign. |
| POST | Copy a campaign into a new draft with its own name, subject and recipients. |
| POST | Create an email campaign draft from a template, with subject and recipients. |
| POST | Send a draft email campaign now or schedule it for a day and time. |
| POST | Move a scheduled campaign back to draft. |
| POST | Pause a live popup or other display so visitors stop seeing it. |
| POST | Turn a paused display back on so visitors see it again. |
| POST | Add a Privy tag to contacts, or remove it from them. |