LocalProf API

Integrations

Endpoint:https://api.localprof.com

Authentication Check

GET
https://api.localprof.com
/integrations/zapier/check-auth

Validates the API key and checks the Zapier integration authentication status. If the integration status is not connected, updates it to connected and activates the integration.

Authentication CheckHeaders

  • x-api-keystring · required

    API key for authentication

Authentication CheckResponses

    • messagestring · required

      Status message

      Example: Authorization successful
    • integrationobject · required

      Integration information

    • messagestring · required

      If the integration is disabled in LocalProf app, response with status 200 and message

      Example: Integration is not active

Create a new contact

POST
https://api.localprof.com
/integrations/zapier/create-contact

Creates a new contact for the tenant associated with the provided API key. At least one of email or phone is required.

Create a new contactHeaders

  • x-api-keystring · required

    API key for authentication

Create a new contactRequest Body

  • namestring · required

    Full name of the contact

    Example: John Doe
  • emailstring · email

    Email address of the contact

    Example: john.doe@example.com
  • phonestring

    Phone number of the contact

    Example: +15551234567
  • externalIdstring

    External identifier for the contact

    Example: cust_12345
  • addressstring

    Street address of the contact

    Example: 123 Main St
  • citystring

    City of the contact

    Example: San Francisco
  • statestring

    State or province of the contact

    Example: CA
  • zipstring

    ZIP or postal code of the contact

    Example: 94105
  • countrystring

    Country of the contact

    Example: United States
  • birthdaystring

    Birthday of the contact

    Example: 1990-01-15

Create a new contactResponses

    • idstring · required

      Unique identifier of the created contact

      Example: e0c77ed0-48a1-4b3d-a0fe-f0b1e3984089
    • namestring · required

      Name of the contact

      Example: John Doe
    • emailstring

      Email of the contact

      Example: john.doe@example.com
    • phonestring

      Phone number of the contact

      Example: +15551234567
    • externalIdstring

      External ID of the contact

      Example: cust_12345
    • addressstring

      Street address of the contact

      Example: 123 Main St
    • citystring

      City of the contact

      Example: San Francisco
    • statestring

      State or province of the contact

      Example: CA
    • zipstring

      ZIP or postal code of the contact

      Example: 94105
    • countrystring

      Country of the contact

      Example: United States
    • birthdaystring · date

      Birthday of the contact

      Example: 1990-01-15

Create a review request

POST
https://api.localprof.com
/integrations/zapier/review-request

Creates a review request for an existing contact identified by email, phone or externalId. Requires API authentication via x-api-key header.

Create a review requestHeaders

  • x-api-keystring · required

    API key for authentication

Create a review requestRequest Body

  • emailstring

    Email address of the existing contact

    Example: john.doe@example.com
  • phonestring

    Phone number of the existing contact

    Example: +15551234567
  • externalIdstring

    External identifier for the existing contact

    Example: cust_12345

Create a review requestResponses

    • messagestring

      Success message

      Example: Review request created for John Doe
    • contactobject