Difference between revisions of "API"

From docs
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
= CallProof REST API =
  
== API ==
+
The CallProof REST API allows developers to integrate external applications with the CallProof platform. Using the API, you can create, retrieve, update, and delete CRM data such as contacts, companies, appointments, opportunities, follow-ups, event forms, and more.
  
The CallProof API can be used to automate backend workflows.
+
== Overview ==
  
 +
The API provides secure access to CallProof data using API Keys. It is intended for custom integrations, mobile applications, reporting tools, and automated workflows.
 +
 +
Common uses include:
 +
 +
* Synchronizing customer data with external CRM systems
 +
* Creating and updating contacts automatically
 +
* Managing companies, opportunities, appointments, and follow-ups
 +
* Uploading files and images
 +
* Retrieving reports and activity data
 +
* Integrating CallProof with third-party applications
 +
 +
== Authentication ==
 +
 +
All API requests require a valid API Key.
 +
 +
To generate an API Key, see:
  
=== API Keys ===
 
 
::[[Create API Keys|How to Create API Keys]]
 
::[[Create API Keys|How to Create API Keys]]
  
 +
== Response Format ==
 +
 +
Unless otherwise noted, all endpoints return JSON responses.
 +
 +
Typical response:
 +
 +
* Success
 +
* Validation errors
 +
* Authentication errors
 +
* Permission errors
 +
 +
Refer to each endpoint for request parameters and response examples.
 +
 +
== API Ping ==
 +
 +
'''Purpose'''
 +
 +
Verifies that the API is available and responding.
 +
 +
'''Endpoints'''
  
=== API Ping ===
+
* [[API:Ping|API Ping]]
  
API Ping:
+
----
::[[API:Ping|https://app.callproof.com/api/ping/]]
 
  
 +
== Reps ==
  
=== Reps ===
+
'''Purpose'''
  
Update Reps Stats HTML:
+
Manage and retrieve sales representative information and statistics.
::[[API:Reps:Stats:HTML:Update|https://app.callproof.com/api/reps/stats/html/update/]]
 
  
Delete Reps Stats HTML:
+
'''Endpoints'''
::[[API:Reps:Stats:HTML:Delete|https://app.callproof.com/api/reps/stats/html/delete/]]
 
  
Get Reps:
+
* [[API:Reps:Get|Get Reps]]
::[[API:Reps:Get|https://app.callproof.com/api/reps/get/]]
+
* [[API:Reps:Stats:HTML:Update|Update Reps Stats HTML]]
 +
* [[API:Reps:Stats:HTML:Delete|Delete Reps Stats HTML]]
  
 +
----
  
=== App Stats ===
+
== App Stats ==
  
Created Company Notes:
+
'''Purpose'''
::[[API:Companies:Notes:Created|https://app.callproof.com/api/companies/notes/created/]]
 
  
Update Company Stats HTML:
+
Retrieve company statistics and generated dashboard data.
::[[API:Companies:Stats:HTML:Update|https://app.callproof.com/api/companies/stats/html/update/]]
 
  
Delete Company Stats HTML:
+
'''Endpoints'''
::[[API:Companies:Stats:HTML:Delete|https://app.callproof.com/api/companies/stats/html/delete/]]
 
  
=== Contacts ===
+
* [[API:Companies:Notes:Created|Created Company Notes]]
 +
* [[API:Companies:Stats:HTML:Update|Update Company Stats HTML]]
 +
* [[API:Companies:Stats:HTML:Delete|Delete Company Stats HTML]]
  
Created Contacts:
+
----
::[[API:Contacts:Created|https://app.callproof.com/api/contacts/created/]]
 
  
Updated Contacts:
+
== Contacts ==
::[[API:Contacts:Updated|https://app.callproof.com/api/contacts/updated/]]
 
  
Find Contacts:
+
'''Purpose'''
::[[API:Contacts:Find|https://app.callproof.com/api/contacts/find/]]
 
  
Get Contact:
+
Create, update, search, retrieve, and delete contacts.
::[[API:Contact:Get|https://app.callproof.com/api/contact/get/]]
 
  
Update Contact:
+
'''Endpoints'''
::[[API:Contact:Update|https://app.callproof.com/api/contact/update/]]
 
  
Update Contact Reps:
+
* [[API:Contacts:Created|Created Contacts]]
::[[API:Contact:Update:Reps|https://app.callproof.com/api/contact/update/reps/]]
+
* [[API:Contacts:Updated|Updated Contacts]]
 +
* [[API:Contacts:Find|Find Contacts]]
 +
* [[API:Contact:Get|Get Contact]]
 +
* [[API:Contact:Update|Update Contact]]
 +
* [[API:Contact:Update:Reps|Update Contact Reps]]
 +
* [[API:Contact:New|Create Contact]]
 +
* [[API:Contact:Delete|Delete Contact]]
 +
* [[API:Contact:CustomFields:Update|Update Contact Custom Fields]]
 +
* [[API:Contact:Files:Get|Get Contact Files]]
 +
* [[API:Contact:Files:New|Upload Contact Files]]
 +
* [[API:Contact:Images:Get|Get Contact Images]]
 +
* [[API:Contact:Email:Get|Get Contact Email Messages]]
 +
* [[API:Email:New|Create Email Message]]
  
Create Contact:
+
----
::[[API:Contact:New|https://app.callproof.com/api/contact/new/]]
 
  
Delete Contact:
+
== Contact Phones ==
::[[API:Contact:Delete|https://app.callproof.com/api/contact/delete/]]
 
  
Update Contact Custom Fields:
+
'''Purpose'''
::[[API:Contact:CustomFields:Update|https://app.callproof.com/api/contact/custom_fields/update/]]
 
  
Get Contact Files:
+
Manage phone numbers associated with contacts.
::[[API:Contact:Files:Get|https://app.callproof.com/api/contact/files/created/]]
 
  
Upload New Contact Files:
+
'''Endpoints'''
::[[API:Contact:Files:New|https://app.callproof.com/api/contact/files/new/]]
 
  
Get Contact Images:
+
* [[API:Contact Phones:Updated|Get Updated Contact Phones]]
::[[API:Contact:Images:Get|https://app.callproof.com/api/contact/images/get/]]
+
* [[API:ContactPhones:Get|Get Contact Phones]]
 +
* [[API:ContactPhone:Update|Update Contact Phone]]
 +
* [[API:ContactPhone:New|Create Contact Phone]]
  
Get Contact Emails Messages:
+
----
::[[API:Contact:Email:Get|https://app.callproof.com/api/contact/email/messages/get/]]
 
  
New Emails Messages:
+
== Contact Notes ==
::[[API:Email:New|https://app.callproof.com/api/contact/email/messages/new/]]
 
  
=== Contact Phones ===
+
'''Purpose'''
  
Get Updated Contact Phones:
+
Create and manage notes attached to contacts.
::[[API:Contact Phones:Updated|https://app.callproof.com/api/contact_phones/updated/]]
 
  
Get Contact Phones:
+
'''Endpoints'''
::[[API:ContactPhones:Get|https://app.callproof.com/api/contact_phones/get/]]
 
  
Update Contact Phone:
+
* [[API:ContactNotes:Get|Get Contact Notes]]
::[[API:ContactPhone:Update|https://app.callproof.com/api/contact_phone/update/]]
+
* [[API:ContactNote:Update|Update Contact Note]]
 +
* [[API:ContactNote:New|Create Contact Note]]
 +
* [[API:ContactNote:Delete|Delete Contact Note]]
  
Create Contact Phone:
+
----
::[[API:ContactPhone:New|https://app.callproof.com/api/contact_phone/new/]]
 
  
 +
== People ==
  
=== Contact Notes ===
+
'''Purpose'''
  
Get Contact Notes:
+
Manage personnel associated with contacts.
::[[API:ContactNotes:Get|https://app.callproof.com/api/contact_notes/get/]]
 
  
Update Contact Note:
+
'''Endpoints'''
::[[API:ContactNote:Update|https://app.callproof.com/api/contact_note/update/]]
 
  
Create Contact Note:
+
* [[API:People:Get|Get People]]
::[[API:ContactNote:New|https://app.callproof.com/api/contact_note/new/]]
+
* [[API:People:Create|Create Personnel]]
 +
* [[API:People:Update|Update Personnel]]
 +
* [[API:People:Delete|Delete Personnel]]
 +
* [[API:People:Phones:Get|Get Personnel Phones]]
 +
* [[API:People:Roles:Get|Get People Roles]]
  
Delete Contact Note:
+
----
::[[API:ContactNote:Delete|https://app.callproof.com/api/contact_note/delete/]]
 
  
 +
== Calls ==
  
=== People ===
+
'''Purpose'''
  
Get People:
+
Create and retrieve phone call information.
::[[API:People:Get|https://app.callproof.com/api/contact/personnel/get/]]
 
  
Create Personnel:
+
'''Endpoints'''
::[[API:People:Create|https://app.callproof.com/api/contact/personnel/create/]]
 
  
Update Personnel:  
+
* [[API:Calls:Created|Created Calls]]
::[[API:People:Update|https://app.callproof.com/api/contact/personnel/update/]]
+
* [[API:Calls:ByID|Calls By ID]]
 +
* [[API:Call:Create|Create Call]]
  
Delete Personnel:
+
----
::[[API:People:Delete|https://app.callproof.com/api/contact/personnel/delete/]]
 
  
Get Personnel contact phones:
+
== Appointments ==
::[[API:People:Phones:Get|https://app.callproof.com/api/contact/personnel/phones/get/]]
 
  
Get People Roles:
+
'''Purpose'''
::[[API:People:Roles:Get|https://app.callproof.com/api/contact/people/roles/get/]]
 
  
 +
Manage customer appointments.
  
 +
'''Endpoints'''
  
=== Calls ===
+
* [[API:Appointments:Updated|Updated Appointments]]
 +
* [[API:Appointment:New|Create Appointment]]
 +
* [[API:Appointment:End|End Appointment]]
  
Created Calls:
+
----
::[[API:Calls:Created|https://app.callproof.com/api/calls/created/]]
 
  
Calls By ID:
+
== Custom Fields ==
::[[API:Calls:ByID|https://app.callproof.com/api/calls/by_id/]]
 
  
Create Call:
+
'''Purpose'''
::[[API:Call:Create|https://app.callproof.com/api/call/create/]]
 
  
=== Appointments ===
+
Manage custom fields and their options.
  
Updated Appointments:
+
'''Endpoints'''
::[[API:Appointments:Updated|https://app.callproof.com/api/appts/updated/]]
 
  
New Appointment:
+
* [[API:CustomFields:Get|Get Custom Fields]]
::[[API:Appointment:New|https://app.callproof.com/api/appts/new/]]
+
* [[API:CustomField:Update|Update Custom Field]]
 +
* [[API:CustomField:Create|Create Custom Field]]
 +
* [[API:CustomFieldOption:Update|Update Custom Field Option]]
 +
* [[API:CustomFieldOption:Create|Create Custom Field Option]]
  
End Appointment:
+
----
::[[API:Appointment:End|https://app.callproof.com/api/appts/end/]]
 
  
=== Custom Fields ===
+
== Companies ==
  
Get Custom Fields:
+
'''Purpose'''
::[[API:CustomFields:Get|https://app.callproof.com/api/custom_fields/get/]]
 
  
Update Custom Field:
+
Create, update, and delete company records.
::[[API:CustomField:Update|https://app.callproof.com/api/custom_field/update/]]
 
  
Create Custom Field:
+
'''Endpoints'''
::[[API:CustomField:Create|https://app.callproof.com/api/custom_field/new/]]
 
  
Update Custom Field Option:
+
* [[API:Companies:Create|Create Companies]]
::[[API:CustomFieldOption:Update|https://app.callproof.com/api/custom_field/option/update/]]
+
* [[API:Companies:Update|Update Companies]]
 +
* [[API:Companies:Delete|Delete Companies]]
  
Create Custom Field Option:
+
----
::[[API:CustomFieldOption:Create|https://app.callproof.com/api/custom_field/option/new/]]
 
  
=== Companies ===
+
== Opportunities ==
  
 +
'''Purpose'''
  
Create Companies:
+
Manage sales opportunities.
::[[API:Companies:Create|https://app.callproof.com/api/companies/new/]]
 
  
Update Companies:
+
'''Endpoints'''
::[[API:Companies:Update|https://app.callproof.com/api/companies/update/]]
 
  
Delete Companies:
+
* [[API:Opportunity:Stages:Get|Get Opportunity Stages]]
::[[API:Companies:Delete|https://app.callproof.com/api/companies/delete/]]
+
* [[API:Opportunity:Type:Get|Get Opportunity Types]]
 +
* [[API:Opportunity:Contact:Get|Get Contact Opportunities]]
 +
* [[API:Opportunity:Create|Create Opportunity]]
  
=== Opportunity ===
+
----
  
 +
== Follow-ups ==
  
Get Opportunity Stages:
+
'''Purpose'''
::[[API:Opportunity:Stages:Get|https://app.callproof.com/api/opportunity/stages/get/]]
 
  
Get Opportunity Type:
+
Manage follow-up tasks and reminders.
::[[API:Opportunity:Type:Get|https://app.callproof.com/api/opportunity/type/get/]]
 
  
Get Contact Opportunity:
+
'''Endpoints'''
::[[API:Opportunity:Contact:Get|https://app.callproof.com/api/opportunity/get/]]
 
  
Create Opportunity:
+
* [[API:Followup:Updated|Updated Follow-ups]]
::[[API:Opportunity:Create|https://app.callproof.com/api/opportunity/new/]]
+
* [[API:Followup:Create|Create Follow-up]]
  
=== Followup ===
+
----
  
Updated Followup:
+
== Event Forms ==
::[[API:Followup:Updated|https://app.callproof.com/api/followup/updated/]]
 
  
New Followup:
+
'''Purpose'''
::[[API:Followup:Create|https://app.callproof.com/api/followup/new/]]
 
  
=== Event Forms ===
+
Retrieve and submit Event Form data.
  
 +
'''Endpoints'''
  
Get Event Forms:
+
* [[API:EventForms:Get|Get Event Forms]]
::[[API:EventForms:Get|https://app.callproof.com/api/event_form/get/]]
+
* [[API:EventForms:Contact:Get|Get Contact Event Forms]]
 +
* [[API:EventForms:Details:Get|Get Event Form Details]]
 +
* [[API:EventForms:Contact:Create|Create Event Form]]
  
Get Contact Event Forms:
+
----
::[[API:EventForms:Contact:Get|https://app.callproof.com/api/contact/event_form/get/]]
 
  
Get Event Forms Details:
+
== API Error Codes ==
::[[API:EventForms:Details:Get|https://app.callproof.com/api/contact/event_form/details/get/]]
 
  
Create Event Form:
+
CallProof follows standard HTTP response status codes for API requests.
::[[API:EventForms:Contact:Create|https://app.callproof.com/api/contact/event_form/create/]]
 
  
=== API Errors  ===
+
Common response codes include:
  
We followed standard errors from w3.org.  A link is provided here:  http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
+
* 200 — OK
 +
* 201 — Created
 +
* 400 — Bad Request
 +
* 401 — Unauthorized
 +
* 403 — Forbidden
 +
* 404 — Not Found
 +
* 500 — Internal Server Error

Latest revision as of 14:56, 17 July 2026

CallProof REST API

The CallProof REST API allows developers to integrate external applications with the CallProof platform. Using the API, you can create, retrieve, update, and delete CRM data such as contacts, companies, appointments, opportunities, follow-ups, event forms, and more.

Overview

The API provides secure access to CallProof data using API Keys. It is intended for custom integrations, mobile applications, reporting tools, and automated workflows.

Common uses include:

  • Synchronizing customer data with external CRM systems
  • Creating and updating contacts automatically
  • Managing companies, opportunities, appointments, and follow-ups
  • Uploading files and images
  • Retrieving reports and activity data
  • Integrating CallProof with third-party applications

Authentication

All API requests require a valid API Key.

To generate an API Key, see:

How to Create API Keys

Response Format

Unless otherwise noted, all endpoints return JSON responses.

Typical response:

  • Success
  • Validation errors
  • Authentication errors
  • Permission errors

Refer to each endpoint for request parameters and response examples.

API Ping

Purpose

Verifies that the API is available and responding.

Endpoints


Reps

Purpose

Manage and retrieve sales representative information and statistics.

Endpoints


App Stats

Purpose

Retrieve company statistics and generated dashboard data.

Endpoints


Contacts

Purpose

Create, update, search, retrieve, and delete contacts.

Endpoints


Contact Phones

Purpose

Manage phone numbers associated with contacts.

Endpoints


Contact Notes

Purpose

Create and manage notes attached to contacts.

Endpoints


People

Purpose

Manage personnel associated with contacts.

Endpoints


Calls

Purpose

Create and retrieve phone call information.

Endpoints


Appointments

Purpose

Manage customer appointments.

Endpoints


Custom Fields

Purpose

Manage custom fields and their options.

Endpoints


Companies

Purpose

Create, update, and delete company records.

Endpoints


Opportunities

Purpose

Manage sales opportunities.

Endpoints


Follow-ups

Purpose

Manage follow-up tasks and reminders.

Endpoints


Event Forms

Purpose

Retrieve and submit Event Form data.

Endpoints


API Error Codes

CallProof follows standard HTTP response status codes for API requests.

Common response codes include:

  • 200 — OK
  • 201 — Created
  • 400 — Bad Request
  • 401 — Unauthorized
  • 403 — Forbidden
  • 404 — Not Found
  • 500 — Internal Server Error