Skip to main content

How to mark contact complete

This guide explains how to mark a contact as complete in the Brightcall API.

Updated over 2 weeks ago

Prerequisites

  • Valid API key from Brightcall

  • Project ID where the contact exists

  • Contact's phone number

Get Your API Key

Authentication: For all requests the API key must be included as an api-key query parameter.
Example: https://api.dialer.brightcall.ai/api/v2/projects?api-key=%your-api-key%

Identify Your Project

You can get your project information using either of these endpoints:

GET https://api.dialer.brightcall.ai/api/v2/projects?api-key=YOUR_API_KEY GET https://api.dialer.brightcall.ai/api/v2/project/{project_id}?api-key=YOUR_API_KEY

Mark Contact as Complete

Send a PUT request with these specifications:

URL: https://api.dialer.brightcall.ai/api/v1/project-contacts/{projectId}/ignore Method: PUT Query Parameters: - api-key: YOUR_API_KEY - phone: CONTACT_PHONE_NUMBER Body: {}

Alternate formatting (same call):
https://api.dialer.brightcall.ai/api/v1/project-contacts/{{projectId}}/ignore?api-key=<api-key>&phone=<phone>
Body: {}

Example Request (cURL)

curl -X PUT \ 'https://api.dialer.brightcall.ai/api/v1/project-contacts/123/ignore?api-key=your_api_key&phone=+1234567890' \ -H 'Content-Type: application/json' \ -d '{}'

Note: Replace YOUR_API_KEY, {projectId}, and CONTACT_PHONE_NUMBER with your actual values.

Did this answer your question?