Operations 10
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Which contacts are on my Plunk mailing list?”
“Can I list only the contacts who have unsubscribed?”
Tell an agent
List my contacts, 100 per page.
Show contacts whose email contains {search}.
Ask an LLM
“How do I add a new contact to my list?”
“If the email already exists, will adding a contact update it instead of duplicating it?”
Tell an agent
Add {email} as a contact.
Upsert contact {email} with subscribed {subscribed} and data {data}.
Ask an LLM
“Is there an update endpoint where the contact id goes in the body rather than the URL?”
“Can I set a contact's metadata with the older PUT contacts call?”
Tell an agent
Using the body-id PUT endpoint, set contact {id} subscribed to {subscribed}.
Via PUT /contacts, replace the metadata of contact {id} with {data}.
Ask an LLM
“Can I delete a contact by sending its id in the request body?”
“Is there a delete call on the bare contacts path without an id in the URL?”
Tell an agent destructive · confirm first
Using the body-id DELETE /contacts call, permanently delete contact {id}.
Send contact id {id} in the body to erase that contact.
Ask an LLM
“How do I look up one contact's details by their id?”
“What data is stored on a particular contact?”
Tell an agent
Fetch contact {id}.
Show me the subscription state and data for contact {id}.
Ask an LLM
“Can I change a contact's email address?”
“What happens if I change a contact's email to one another contact already uses?”
Tell an agent
Change the email of contact {id} to {email}.
Patch contact {id} data with {data}.
Ask an LLM
“How do I permanently remove a contact when I have its id for the URL path?”
“Is deleting a contact reversible?”
Tell an agent destructive · confirm first
Permanently delete contact {id} via its own contact URL.
Erase the contact whose id is {id} from the URL path.
Ask an LLM
“How many contacts are in my project in total?”
“What's the size of my whole contact list?”
Tell an agent
Count my contacts.
Tell me the total number of contacts in the project.
Ask an LLM
“How do I resubscribe someone who previously opted out?”
“Is there a one-step call to mark a contact as subscribed?”
Tell an agent
Subscribe contact {id}.
Opt contact {id} back into emails.
Ask an LLM
“How do I unsubscribe a contact who asked to stop getting emails?”
“Can I opt someone out without deleting their contact record?”
Tell an agent
Unsubscribe contact {id}.
Opt contact {id} out of all emails.
Documentation
Documentation
https://docs.useplunk.com/api-reference/transactional/send
APIReference
https://docs.useplunk.com/api-reference/overview
Documentation
https://docs.useplunk.com/api-reference/transactional/track
Documentation
https://docs.useplunk.com/api-reference/contacts/create
Documentation
https://docs.useplunk.com/api-reference/campaigns/create