Skip to content

AdvisorPRO CRM developer API

Send seminar registrations and leads to a firm’s AdvisorPRO CRM, subscribe to its events, and add families, notes and tasks. A family in the app is a household in this API’s paths, fields and events. This page describes every endpoint.

  1. 1. Calling the API

    The API is at https://api.advisorprocrm.com, under /v1. Requests and answers are JSON. Send the credential as a bearer token: Authorization: Bearer, then the key or token.

    Times are ISO 8601 with an offset, and dates are YYYY-MM-DD. Every endpoint is HTTPS.

  2. 2. API keys

    A firm’s owner or admin makes a key in AdvisorPRO CRM, under Settings › API keys, for one purpose: seminar registrations, leads, or webhooks. The key is shown once, when it is made.

    A key acts for the firm, not a person, and only for its purpose. Revoking it stops it at once, and removes the subscriptions it made.

  3. 3. Zapier

    The AdvisorPRO CRM app in Zapier signs in with OAuth 2.0 instead of a key. A member who manages the firm’s settings connects it, and its requests act as them, with their permissions.

    Creating households, notes and tasks, and finding households, take only a Zapier connection’s token. A search with no match answers an empty list.

  4. 4. Subscribing to events

    POST /v1/hooks subscribes an https address to one event, such as a new household. Each delivery is a JSON event, signed in the AdvisorPRO-Signature header, and retried when it fails.

    An address that answers 410 is unsubscribed. GET /v1/hooks/samples/{event} answers the firm’s latest deliveries of an event, in the shape delivered.

    A questionnaire.submitted event never carries a client’s health answers: the health section keeps its keys, and every value is "[redacted]". A firm member with access to Restricted details reads them in AdvisorPRO CRM.

  5. 5. Errors

    An error answers JSON with a code and a message. 400 lists the fields that need changing. 401 means the key or token is missing, unknown, revoked or ended. 403 means it may not make this request. 404 means the record isn’t there, or isn’t yours to see.

    For help with the API, write to support@advisorprocrm.com.

Endpoints

Download the OpenAPI document

  • GET /v1/contacts

    Vendor API, with a Zapier connection’s access token: a page of the contacts the member may read, newest first, `limit` (1 to 100, 50 by default) at a time; `after` is the `next` of the page before. 403 without households.read

    Response (200)

    FieldTypeRequired
    contactsa list of objectYes
    nextstring (uuid) | nullYes
  • POST /v1/contacts

    Vendor API, with a Zapier connection’s access token: add a contact with a family of their own, as quick add does, the member as its advisor. 403 without households.create

    Request body

    FieldTypeRequired
    firstNamestringYes
    lastNamestringYes
    emailstring | string (email)No
    phonestringNo

    Response (201)

    FieldTypeRequired
    idstring (uuid)Yes
    firstNamestringYes
    lastNamestringYes
    preferredNamestring | nullYes
    roleone of client, co_client, familyYes
    emailstring | nullYes
    phonestring | nullYes
    householdIdstring (uuid)Yes
    familyNamestringYes
    stageone of lead, prospect, client, formerYes
    urlstringYes
  • GET /v1/contacts/{contactId}

    Vendor API, with a Zapier connection’s access token: one contact the member may read, with their family and primary email address and phone number. 404 outside their scope

    Response (200)

    FieldTypeRequired
    idstring (uuid)Yes
    firstNamestringYes
    lastNamestringYes
    preferredNamestring | nullYes
    roleone of client, co_client, familyYes
    emailstring | nullYes
    phonestring | nullYes
    householdIdstring (uuid)Yes
    familyNamestringYes
    stageone of lead, prospect, client, formerYes
    urlstringYes
  • PUT /v1/contacts/{contactId}

    Vendor API, with a Zapier connection’s access token: change a contact’s names given, and add an email address or phone number they lack as their primary; what is left out or empty stays. 403 without households.edit; 404 outside their scope

    Request body

    FieldTypeRequired
    firstNamestringNo
    lastNamestringNo
    preferredNamestringNo
    emailstring | string (email)No
    phonestringNo

    Response (200)

    FieldTypeRequired
    idstring (uuid)Yes
    firstNamestringYes
    lastNamestringYes
    preferredNamestring | nullYes
    roleone of client, co_client, familyYes
    emailstring | nullYes
    phonestring | nullYes
    householdIdstring (uuid)Yes
    familyNamestringYes
    stageone of lead, prospect, client, formerYes
    urlstringYes
  • GET /v1/contacts/search

    Vendor API, with a Zapier connection’s access token: up to five contacts whose name or email address matches `query`, within the member’s households.read scope. 200 with an empty list when none match, or the query is shorter than two characters

    Response (200)

    FieldTypeRequired
    idstring (uuid)Yes
    firstNamestringYes
    lastNamestringYes
    preferredNamestring | nullYes
    roleone of client, co_client, familyYes
    emailstring | nullYes
    phonestring | nullYes
    householdIdstring (uuid)Yes
    familyNamestringYes
    stageone of lead, prospect, client, formerYes
    urlstringYes
  • POST /v1/hooks

    Vendor API, called with a firm’s API key for webhooks or a Zapier connection’s access token as a bearer token: subscribe a public https address to one webhook event, as Zapier’s REST hook Subscribe does. Deliveries are signed, retried and logged as for any endpoint; a 410 removes the subscription, and ending the Zapier connection removes its subscriptions. 409 webhook_hooks_too_many past 100

    Request body

    FieldTypeRequired
    targetUrlstringYes
    eventone of household.created, lead_form.received, seminar.registered, appointment.booked, questionnaire.submitted, household.stage_changed, appointment.held, appointment.no_show, appointment.cancelled, seminar.attended, task.completed, contact.created, contact.updatedYes

    Response (201)

    FieldTypeRequired
    idstring (uuid)Yes
    eventone of household.created, lead_form.received, seminar.registered, appointment.booked, questionnaire.submitted, household.stage_changed, appointment.held, appointment.no_show, appointment.cancelled, seminar.attended, task.completed, contact.created, contact.updatedYes
    targetUrlstringYes
    createdAtstring (date-time)Yes
  • DELETE /v1/hooks/{hookId}

    Vendor API, with a firm’s API key for webhooks or a Zapier connection’s access token: remove a subscription made through /v1/hooks, as Zapier’s Unsubscribe does. 404 for any other endpoint

    Response (200)

    FieldTypeRequired
    idstring (uuid)Yes
    removedbooleanYes
  • GET /v1/hooks/samples/{event}

    Vendor API, with a firm’s API key for webhooks or a Zapier connection’s access token: the firm’s latest three deliveries of the event, newest first, in exactly the delivered shape, for Zapier’s sample data; empty before the first

    Response (200)

    FieldTypeRequired
    idstringYes
    typestringYes
    createdAtstringYes
    dataobjectYes
  • POST /v1/households

    Vendor API, with a Zapier connection’s access token: create a household with its client and any co-client, as the member, who becomes its advisor. 403 without households.create

    Request body

    FieldTypeRequired
    firstNamestringYes
    lastNamestringYes
    emailstring | string (email)No
    coClientFirstNamestringNo
    coClientLastNamestringNo
    coClientEmailstring | string (email)No

    Response (201)

    FieldTypeRequired
    idstring (uuid)Yes
    displayNamestringYes
    urlstringYes
  • POST /v1/households/{householdId}/notes

    Vendor API, with a Zapier connection’s access token: write a plain-text note on a household the member may edit, as the member. 403 without households.edit; 404 for a household outside their scope

    Request body

    FieldTypeRequired
    textstringYes

    Response (201)

    FieldTypeRequired
    idstring (uuid)Yes
    householdIdstring (uuid)Yes
    createdAtstring (date-time)Yes
  • GET /v1/households/search

    Vendor API, with a Zapier connection’s access token: up to five households whose name, or a person’s name or email address, matches `query`, within the member’s households.read scope. 200 with an empty list when none match, or the query is shorter than two characters

    Response (200)

    FieldTypeRequired
    idstring (uuid)Yes
    displayNamestringYes
    urlstringYes
  • POST /v1/leads

    Vendor API, called with a firm’s API key for leads as a bearer token: send a lead. It matches the person by email, then phone, and answers matched, leaving them as they are; else it creates a lead with medium integration, for the firm’s web lead team when it has one, with the campaign or lead source the body names, or none. The web lead member or team is told either way. 401 for a missing, unknown or revoked key; 403 for a key for another purpose

    Request body

    FieldTypeRequired
    firstNamestringYes
    lastNamestringYes
    emailstringNo
    phonestringNo
    emailOptInbooleanNo
    textOptInbooleanNo
    sourcestringNo
    campaignstringNo

    Response (201)

    FieldTypeRequired
    householdone of matched, createdYes
  • GET /v1/me

    Vendor API, with a Zapier connection’s access token: the member it acts as and their firm, for Zapier’s test request and connection label. 401 for an API key or an ended connection; 403 when the member no longer manages settings or lacks two-step verification the firm requires

    Response (200)

    FieldTypeRequired
    memberobjectYes
    firmobjectYes
  • POST /v1/seminar-registrations

    Vendor API, called with a firm’s API key for seminar registrations, or a Zapier connection’s access token, as a bearer token: register a person for a seminar session still to come. A key acts as the firm’s web lead member, and Zapier as its member. It matches them by email, then phone, else creates a lead with the seminar’s source and campaign and medium integration; they are registered, or waitlisted when the session lacks seats, and left as they are when already registered. 401 for a missing, unknown or revoked key

    Request body

    FieldTypeRequired
    sessionIdstring (uuid)Yes
    firstNamestringYes
    lastNamestringYes
    emailstringNo
    phonestringNo
    guestsintegerNo
    emailOptInbooleanNo
    textOptInbooleanNo

    Response (201)

    FieldTypeRequired
    statusone of registered, waitlist, already_registeredYes
    householdone of matched, createdYes
  • GET /v1/seminar-sessions

    Vendor API, called with a firm’s API key for seminar registrations, or a Zapier connection’s access token, as a bearer token, not a sign-in: the firm’s seminar sessions still to come, soonest first, with their ids and the seats left. 401 for a missing, unknown or revoked key

    Response (200)

    FieldTypeRequired
    sessionIdstring (uuid)Yes
    seminarIdstring (uuid)Yes
    seminarstringYes
    startsAtstring (date-time)Yes
    timeZonestringYes
    venueobject | nullYes
    onlinebooleanYes
    seatsLeftinteger | nullYes
  • POST /v1/tasks

    Vendor API, with a Zapier connection’s access token: add a task for the member, on a household they may edit or of its own, due on a day or not

    Request body

    FieldTypeRequired
    titlestringYes
    householdIdstring | string (uuid)No
    dueOnstring | string (date)No
    priorityone of low, normal, high, urgentNo

    Response (201)

    FieldTypeRequired
    idstring (uuid)Yes
    titlestringYes
    householdIdstring (uuid) | nullYes
    dueOnstring (date) | nullYes