AskNicely · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for AskNicely Contacts API
9 actions
9 updates
phrasing
extends
openapi/asknicely-contacts-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for AskNicely's API. It is a proposal applied on top of the contract, not a document AskNicely publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/contact/trigger'].post
$.paths['/contacts/add'].post
$.paths['/contact/get/{search}/{key}'].get
$.paths['/contact/remove/{search}/{key}'].get
$.paths['/privacy/remove'].post
$.paths['/contacts/unsubscribed'].get
$.paths['/contacts/deactivateall'].post
$.paths['/curlupload/{importerId}'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for AskNicely Contacts API
version: 1.0.0
extends: openapi/asknicely-contacts-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-25'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/contact/trigger'].post
update:
x-apievangelist-phrasing:
intent: Import a contact and send a survey
effect: write
questions:
- How do I add a new customer and send them an NPS survey in one call?
- Can I delay a survey by a set number of minutes when importing a contact?
- Is it possible to deactivate a contact right after sending them a survey?
instructions:
- text: Import {name} at {email} and send them a survey.
slots:
name: requestBody.name
email: requestBody.email
- text: Add {email} and trigger a survey {delayminutes} minutes later.
slots:
email: requestBody.email
delayminutes: requestBody.delayminutes
- text: Import {email} and deactivate them once the survey is sent.
slots:
email: requestBody.email
method: generated
generated: '2026-11-25'
- target: $.paths['/contacts/add'].post
update:
x-apievangelist-phrasing:
intent: Bulk import contacts and optionally trigger surveys
effect: write
questions:
- How do I import a large list of contacts from a CSV file and have surveys sent to those who qualify?
- What is the maximum payload size for a bulk contact import?
- Can I keep the bulk import from triggering surveys until I turn it on?
instructions:
- text: 'Bulk import these contacts: {contacts}.'
slots:
contacts: requestBody.contacts
- text: Bulk import {contacts} and obey the Global Contact Rules so surveys are sent to eligible ones.
slots:
contacts: requestBody.contacts
method: generated
generated: '2026-11-25'
- target: $.paths['/contact/get/{search}/{key}'].get
update:
x-apievangelist-phrasing:
intent: Look up a contact by email or ID
effect: read
questions:
- How do I check whether a particular customer is already in my contact list?
- Can I look up a contact by a custom field I set on them?
instructions:
- text: Get the contact whose {key} is {search}.
slots:
key: path.key
search: path.search
- text: Show me the details of {search} using {key} as the lookup field.
slots:
search: path.search
key: path.key
method: generated
generated: '2026-11-25'
- target: $.paths['/contact/remove/{search}/{key}'].get
update:
x-apievangelist-phrasing:
intent: Deactivate a contact without deleting them
effect: destructive
questions:
- How do I stop a customer from being surveyed again without removing them from my account?
- Does deactivating a contact delete their data?
instructions:
- text: Deactivate the contact whose {key} is {search}.
slots:
key: path.key
search: path.search
- text: Mark {search} as inactive by looking it up with {key}.
slots:
search: path.search
key: path.key
method: generated
generated: '2026-11-25'
- target: $.paths['/privacy/remove'].post
update:
x-apievangelist-phrasing:
intent: Delete a contact's personal data under GDPR
effect: destructive
questions:
- How do I honor a GDPR erasure request and remove a customer's personal data?
- Can I block a customer from being re-added or surveyed after their data is deleted?
instructions:
- text: Delete the personal data of {email}.
slots:
email: requestBody.email
- text: Erase {email} and add them to the blocklist.
slots:
email: requestBody.email
method: generated
generated: '2026-11-25'
- target: $.paths['/contacts/unsubscribed'].get
update:
x-apievangelist-phrasing:
intent: List contacts who unsubscribed from surveys
effect: read
questions:
- Which contacts have unsubscribed from my survey emails?
- Can I page through the list of unsubscribed contacts?
instructions:
- text: List the contacts who unsubscribed.
- text: Show page {pagenumber} of unsubscribed contacts with {pagesize} per page.
slots:
pagenumber: query.pagenumber
pagesize: query.pagesize
method: generated
generated: '2026-11-25'
- target: $.paths['/contacts/deactivateall'].post
update:
x-apievangelist-phrasing:
intent: Deactivate every active contact in the account
effect: destructive
questions:
- How do I pause all surveys for every customer in my account at once?
- What happens to contacts when I deactivate all of them?
instructions:
- text: Deactivate all active contacts in the account.
- text: Pause every customer from receiving surveys by deactivating them all.
method: generated
generated: '2026-11-25'
- target: $.paths['/curlupload/{importerId}'].post
update:
x-apievangelist-phrasing:
intent: Upload a CSV to a configured CSV importer
effect: write
questions:
- How do I import contacts from a CSV file using a CSV Importer I set up earlier?
- Does the CSV importer decide whether surveys are sent when I upload a file?
instructions:
- text: Upload this CSV file to importer {importerId}.
slots:
importerId: path.importerId
- text: Import the contacts in my CSV into importer {importerId}.
slots:
importerId: path.importerId
method: generated
generated: '2026-11-25'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/asknicely-contacts-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.