ClosersHQ.io | Help
HomePricingBlogLogin
  • What is ClosersHQ?
  • EMAIL WARMING
    • Setup & Configuration Guide
      • Google Workspace (Gmail | G-suite)
      • Microsoft Office 365 (Outlook)
      • SMTP/IMAP (C-Panel & Other Custom Providers)
        • SMTP/IMAP Configuration Flow
        • Zoho IMAP & SMTP
        • Yahoo Mail SMTP & IMAP
        • AWS SES Configuration
        • SendGrid Configuration
        • MailGun Configuration
        • GSuite | Gmail SMTP/IMAP
        • Microsoft Office 365 SMTP & IMAP
    • How to Switch ON and OFF Email Warming
    • How to Configure Mailbox Warming Pattern
    • How to View Email Warmup Analytics
    • How to Create Inbox Filter
  • Email campaign
    • How It Works
    • How to Use Spintax in Cold Email
    • How to Create and Use Personalization in Emails
    • Email Signature - How to Set and Use Sender Variables
    • How to Edit Unsubscribe Text
    • How to Set Mailbox Sending Pattern and Daily Limits
    • How to Set up Custom Domain Tracking
    • How to Create and Use Email Templates
    • Blocklist - What It Entails and How to Manage It
    • How to Add a Team Member
  • API
    • API Documentation
    • Campaign API
    • Prospect API
  • Webhook
    • Webhook Event
Powered by GitBook
On this page
  • Add prospect if not already exist
  • Update prospect:
  • Delete prospect:
  • Delete prospect profile

Was this helpful?

  1. API

Prospect API

The prospect API allows you to create, update and delete a prospect.

PreviousCampaign APINextWebhook Event

Last updated 2 years ago

Was this helpful?

The prospect object is under the CRM scope, and so is the API. The API requires authentication using the API key. about authentication. In this guide, you will see how to make API requests to create, edit and delete prospects from your account.

Name
Endpoint
Req. type
Link to detail

Add new prospect

https://api.closershq.io/v1/crm/prospect

POST

Update prospect

https://api.closershq.io/v1/crm/prospect

PATCH

Delete prospect

https://api.closershq.io/v1/crm/prospect

DELETE

This operation adds a new prospect to your CRM. Adding will fail if a prospect with the specified email already exists.

Add prospect if not already exist

POST https://api.closershq.io/v1/crm/prospect

Headers

Name
Type
Description

Authorization*

String

Bearer {{apiKey}}

Request Body

Name
Type
Description

email*

String

The prospect's email

firstName

String

The prospect's first name

lastName

String

The prospect's last name

otherAttribute

Object

Object containing other attributes about the prospect

As in the API card above, only the email field is required. Every other field is optional.

The otherAttribute field is where you added other attributes about the prospect for personalising email contents.

Update prospect:

This operation allows you to update a prospect's basic info and status.

PATCH https://api.closershq.io/v1/crm/prospect

Headers

Name
Type
Description

Authorization*

String

Bearer {{apiKey}}

Request Body

Name
Type
Description

email*

String

The prospect's email to update

firstName

String

The prospect's first name

lastName

String

The prospect's last name

title

String

The prospect's title

bounced

Boolean

true if prospect email bounced

openedEmail

Boolean

true if prospect opened email

replied

Boolean

true if prospect replied any email

isContacted

Boolean

true if prospect has ever been contacted

unSubscribed

Boolean

true if prospect has unsubscribed

otherAttribute

Object

object container other attributes of the prospect

As in the API card above, only the email field is required. Every other field is optional.

The otherAttribute field is where you added other attributes about the prospect for personalizing email contents.

Delete prospect:

This operation removes the prospect from your account, including any campaign they may be part of. This action is irreversible.

Delete prospect profile

DELETE https://api.closershq.io/v1/crm/prospect

Headers

Name
Type
Description

Authorization*

String

Bearer {{apiKey}}

Request Body

Name
Type
Description

email

String

The prospect email

Need help? Reach out to us via the chat box from your logged-in account or contact us via support@closershq.io

Learn more
learn more
learn more
learn more