Skip to content

Contact

A Contact is a person or Agent a Startup knows by at least one address, where Consent to message them is recorded.

Properties

PropertyTypeRequiredDescription
emailemailThe primary email address.
phonestringThe primary phone number.
namestringThe name the Contact goes by.

Inherits from Party, which adds no properties of its own.

Object

JSON
{
  "$id": "https://api.sb/tutorloop.com/contacts/contact_1",
  "$type": "Contact",
  "email": "malik@tutorloop.com",
  "phone": "Example phone",
  "name": "TutorLoop"
}

Relationships

Verbs

  1. createCreates a Contact.
    POST /{namespace}/contactsdoContact.created
  2. getReturns one Contact by id.
    GET /{namespace}/contacts/{id}readNo Event
  3. listReturns Contacts, newest first, one page at a time.
    GET /{namespace}/contactsreadNo Event
  4. updateChanges the given properties of a Contact.
    PATCH /{namespace}/contacts/{id}doContact.updated
  5. deleteDeletes a Contact; its history is kept.
    DELETE /{namespace}/contacts/{id}doContact.deleted
  6. enrichEnrich fills a Contact’s missing fields from outside sources and marks each value with where it came from.
    POST /{namespace}/contacts/{contact}/enrichdoContact.enriched
  7. enrollEnroll adds a Contact to a Sequence, which sends its steps until the Contact replies or exits.
    POST /{namespace}/contacts/{contact}/enrolldoContact.enrolled
  8. mergeMerge joins a duplicate Contact into another, keeping every link, Message and Event on the one that remains.
    POST /{namespace}/contacts/{contact}/mergedoContact.merged
  9. subscribeSubscribe records a Contact’s chosen topics and frequency from the hosted preference page, with Consent for each topic.
    POST /{namespace}/contacts/{contact}/subscribedoContact.subscribed
  10. suppressSuppress records a Suppression for a Contact’s address, which every Startup honors forever.
    POST /{namespace}/contacts/{contact}/suppressdoContact.suppressed
  11. unsubscribeUnsubscribe stops commercial Messages to a Contact in one click, for one topic or all, honored at once.
    POST /{namespace}/contacts/{contact}/unsubscribedoContact.unsubscribed

Permissions

Which Access level may call each Verb. One-way Verbs wait their delay window.

Operationowneradminmemberviewer
Contact.createYesYesYesNo
Contact.getYesYesYesYes
Contact.listYesYesYesYes
Contact.updateYesYesYesNo
Contact.deleteYesYesYesNo
Contact.enrichYesYesYesNo
Contact.enrollYesYesYesNo
Contact.mergeYesNoNoNo
Contact.subscribeYesYesYesNo
Contact.suppressYesYesYesNo
Contact.unsubscribeYesYesYesNo

Call it

Text
Enroll the contact Malik Owens with a sequence.

Example

owner@brightsmiles.dental books a demo of a dental-scheduling App and becomes a Contact. She has not given marketing Consent, so she gets replies about her demo but no newsletter.