Skip to content
On this page

Read and search the people who've contacted you.

List contacts #

curl -X POST "https://api.helpway.ai/api/content/try" \
  -H "Content-Type: application/json" \
  -d '{"apiKey":"hwc_live_xxxxxxxxxxxxxxxxxxxx","procedure":"contact.list","input":{}}'

Parameters

NameTypeRequiredDescription
limit#numberNoPage size
cursor#stringNo—

Example response

JSON
{
  "items": [
    {
      "id": "ct_1",
      "email": "ada@acme.com",
      "name": "Ada"
    }
  ]
}

Get contact #

curl -X POST "https://api.helpway.ai/api/content/try" \
  -H "Content-Type: application/json" \
  -d '{"apiKey":"hwc_live_xxxxxxxxxxxxxxxxxxxx","procedure":"contact.get","input":{"contactId":"<contactId>"}}'

Parameters

NameTypeRequiredDescription
contactId#stringrequired—

Example response

JSON
{
  "id": "ct_1",
  "email": "ada@acme.com",
  "company": "acme.com"
}

Search contacts #

curl -X POST "https://api.helpway.ai/api/content/try" \
  -H "Content-Type: application/json" \
  -d '{"apiKey":"hwc_live_xxxxxxxxxxxxxxxxxxxx","procedure":"contact.search","input":{"query":"<query>"}}'

Parameters

NameTypeRequiredDescription
query#stringrequiredName or email substring

Example response

JSON
{
  "items": []
}