Hot Prospector API V1 Documentation

v1.2 | Last updated 2026-05-15 | 42 unique V1 Method values | https://app.hotprospector.com/glu/custom_api

Quickstart

Use one POST URL and put the endpoint name in the Method field. Replace YOUR_API_UID and YOUR_API_KEY with the values from the logged-in Custom API settings page.

  1. Call LoginUser to verify credentials.
  2. Call FetchAllTags to confirm authenticated data access.

LoginUser request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "LoginUser"
}

Expected LoginUser success

{
  "response": "true",
  "message": "Successfully Authenticated"
}

FetchAllTags request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllTags"
}

Expected FetchAllTags success

[
  {
    "response": "true",
    "message": "All Tags fetched successfully",
    "tags": [
      {
        "TagId": "401074",
        "TagTitle": "new fb lead",
        "TagStatus": "Active"
      }
    ]
  }
]
Next step: use the exact Method value shown in each endpoint section. V1 method spelling is case-sensitive and includes a few legacy names.

Authentication

The public API uses api_uId and api_key in the request body. Code discovery shows most V1 methods authenticate independently via custom_api_model->member_authentication, so LoginUser is useful for testing credentials but is not required before every other call if credentials are included.

Keys are shown on the Custom API settings page and can be regenerated there. Regeneration updates hp_member.api_key.

Security: treat the API key like a password. Store it server-side only. Do not expose it in browser JavaScript, mobile apps, screenshots, or logs.

Conventions

  • Base URL: https://app.hotprospector.com/glu/custom_api
  • HTTP method: all V1 calls are documented as POST.
  • Router pattern: the Method body field selects the endpoint.
  • Case sensitivity: use exact method and parameter casing, including legacy spellings like AddcustomField, Un_SubscribeLead, and api_uId.
  • Content type: recommended application/json. Code also accepts form/request fields and a Data wrapper containing JSON.
  • Unknown fields: no global reject logic was found; endpoints generally read known keys.

Response Envelope

Most successful and failed endpoint responses use a JSON object or a one-item JSON array with legacy string booleans: "response": "true" or "response": "false". Some response keys contain spaces, such as "Added TagId".

Errors

Most endpoint failures return HTTP 200 with response: "false" and a human-readable message. Code discovery also found controller-level missing/invalid Method errors that are printed as PHP arrays rather than normalized JSON.

ConditionObserved shapeRetry?Notes
Invalid API credentials
{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}
NoFatal until credentials are corrected.
Invalid login credentials
{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}
NoObserved in the LoginUser path.
Missing or inaccessible Method
Array
(
    [message] => Sorry you cannot access page, Please provide required details.
)
NoController-level legacy output; should be normalized before external launch.
Unavailable Method / bad route data
Array
(
    [message] => Service you are trying to access is not available or provided information is incorrect!
)
NoController-level legacy output; not a standard JSON envelope.
Endpoint-specific validation failure
{
  "response": "false",
  "message": "Invalid or missing required parameter"
}
NoExact messages vary by endpoint.

Rate Limits

No rate-limit, 429, or Retry-After behavior was found in the inspected Custom API controller/helper path.

Pagination

Pagination is endpoint-specific. Some log/list methods accept limit and offset, while many existing examples do not show pagination. There is no universal has_more/next_offset envelope in the discovered code.

FetchCallTranscripts also accepts a cursor field in the discovered implementation/examples. Treat it as endpoint-specific pagination state, not a global V1 convention.

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchCallTranscripts",
  "limit": 50,
  "cursor": 0
}

Dates & Time Zones

Dates are accepted as strings and compared by PHP/database code. Many outputs use legacy formats like Y-m-d H:i:s. Some call-log paths default to or convert through America/Los_Angeles.

Enums & Units Reference

Observed coded values include Active, Inactive, Deleted, show, completed, inbound, outbound, Yes, No, ASC, DESC, Manager, Member, Submanager, and Reseller. Durations such as duration and call_duration should be treated as seconds unless the endpoint says otherwise.

Versioning & Changelog

This is a V1 documentation rewrite draft for the currently published public API scope. It preserves legacy Method values and response quirks for accuracy.

This page covers exactly the 36 unique published V1 Method values found in the current public docs export. The export contained 37 endpoint blocks because FetchUserCallLog appeared twice. Code discovery also found 142 additional non-V1 methods; those are intentionally excluded from this V1 public contract.

LoginUser

POSTMethod: LoginUserAuthentication

Login User.

URL: https://app.hotprospector.com/glu/custom_api

Auth: credential based login

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to LoginUser

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "LoginUser"
}

Success Response

{
  "response": "true",
  "message": "Successfully Authenticated"
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "LoginUser"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "LoginUser"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "LoginUser"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "LoginUser"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchAllTags

POSTMethod: FetchAllTagsTags

Fetch All Tags.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to FetchAllTags

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllTags"
}

Success Response

{
  "response": "true",
  "tag": [
    {
      "TagId": "1",
      "TeamId": "15",
      "Added_by": "15",
      "TagTitle": "Sample Tag A"
    },
    {
      "TagId": "2",
      "TeamId": "15",
      "Added_by": "15",
      "TagTitle": "Sample Tag B"
    }
  ],
  "message": "There are 2 tags"
}

Error Response

{
  "response": "false",
  "message": "No tag found"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllTags"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllTags"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllTags"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "FetchAllTags"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddTag

POSTMethod: AddTagTags

Add Tag.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
TagTitlestringRequiredTitle for the new tag
MethodstringRequiredMust be set to AddTag

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "TagTitle": "Sample Test Tag",
  "Method": "AddTag"
}

Success Response

{
  "response": "true",
  "Added TagId": 1,
  "message": "Tag(Sample Test Tag) has been successfully added"
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "TagTitle": "Sample Test Tag",
  "Method": "AddTag"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "TagTitle": "Sample Test Tag",
  "Method": "AddTag"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "TagTitle": "Sample Test Tag",
  "Method": "AddTag"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "TagTitle" => "Sample Test Tag",
  "Method" => "AddTag"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

UpdateTag

POSTMethod: UpdateTagTags

Update Tag.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
UpdateTagTitlestringRequiredNew title for the tag
TagIdstringRequiredID of the tag to update
MethodstringRequiredMust be set to UpdateTag

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateTagTitle": "Sample Test Tag New",
  "TagId": "1",
  "Method": "UpdateTag"
}

Success Response

{
  "response": "true",
  "TagId": "1",
  "UpdateTagTitle": "Sample Test Tag New",
  "message": "Tag has been successfully updated"
}

Error Response

{
  "response": "false",
  "message": "Invalid provided TagId: $TagId"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateTagTitle": "Sample Test Tag New",
  "TagId": "1",
  "Method": "UpdateTag"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateTagTitle": "Sample Test Tag New",
  "TagId": "1",
  "Method": "UpdateTag"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateTagTitle": "Sample Test Tag New",
  "TagId": "1",
  "Method": "UpdateTag"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "UpdateTagTitle" => "Sample Test Tag New",
  "TagId" => "1",
  "Method" => "UpdateTag"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchAllGroups

POSTMethod: FetchAllGroupsGroups

Fetch All Groups.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to FetchAllGroups

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllGroups"
}

Success Response

{
  "response": "true",
  "group": [
    {
      "GroupId": "1",
      "TeamId": "15",
      "Added_by": "15",
      "GroupTitle": "Sample Group A"
    },
    {
      "GroupId": "2",
      "TeamId": "15",
      "Added_by": "15",
      "GroupTitle": "Sample Group B"
    }
  ],
  "message": "There are 2 groups"
}

Error Response

{
  "response": "false",
  "message": "No group found"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllGroups"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllGroups"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllGroups"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "FetchAllGroups"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddGroup

POSTMethod: AddGroupGroups

Add Group.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
GroupTitlestringRequiredTitle for the new group
MethodstringRequiredMust be set to AddGroup

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupTitle": "Sample Test Group",
  "Method": "AddGroup"
}

Success Response

{
  "response": "true",
  "Added GroupId": 1,
  "message": "Group(Sample Test Group) has been successfully added"
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupTitle": "Sample Test Group",
  "Method": "AddGroup"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupTitle": "Sample Test Group",
  "Method": "AddGroup"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupTitle": "Sample Test Group",
  "Method": "AddGroup"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "GroupTitle" => "Sample Test Group",
  "Method" => "AddGroup"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

UpdateGroup

POSTMethod: UpdateGroupGroups

Update Group.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
UpdateGroupTitlestringRequiredNew title for the group
GroupIdstringRequiredID of the group to update
MethodstringRequiredMust be set to UpdateGroup

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateGroupTitle": "Sample Test Group New",
  "GroupId": "1",
  "Method": "UpdateGroup"
}

Success Response

{
  "response": "true",
  "GroupId": "1",
  "UpdateGroupTitle": "Sample Test Group New",
  "message": "Group has been successfully updated"
}

Error Response

{
  "response": "false",
  "message": "Invalid provided GroupId: $GroupId"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateGroupTitle": "Sample Test Group New",
  "GroupId": "1",
  "Method": "UpdateGroup"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateGroupTitle": "Sample Test Group New",
  "GroupId": "1",
  "Method": "UpdateGroup"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "UpdateGroupTitle": "Sample Test Group New",
  "GroupId": "1",
  "Method": "UpdateGroup"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "UpdateGroupTitle" => "Sample Test Group New",
  "GroupId" => "1",
  "Method" => "UpdateGroup"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

DeleteGroup

POSTMethod: DeleteGroupGroups

Delete Group.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
GroupIdstringRequiredID of the group to delete
MethodstringRequiredMust be set to DeleteGroup

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "Method": "DeleteGroup"
}

Success Response

{
  "response": "true",
  "GroupId": "1",
  "message": "Group has been successfully deleted"
}

Error Response

{
  "response": "false",
  "message": "Invalid Provided GroupId"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "Method": "DeleteGroup"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "Method": "DeleteGroup"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "Method": "DeleteGroup"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "GroupId" => "1",
  "Method" => "DeleteGroup"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddCustomField

POSTMethod: AddcustomFieldCustom Fields

Addcustom Field.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
FieldNamestringRequiredName of the custom field to create
FieldTypestringRequiredSupported types: textbox, textarea, date, radio, select
FieldOptionsarrayOptionalRequired only for radio and select field types. Array of option values.
MethodstringRequiredMust be set to AddcustomField

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "FieldType": "textbox",
  "locationId": "",
  "Method": "AddcustomField"
}

Success Response

{
  "response": "true",
  "FieldName": "age",
  "locationId": "",
  "custom_field_id": "",
  "message": "Custom Field has been successfully added"
}

Error Response

{
  "response": "false",
  "message": "Requested location setting not found"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "FieldType": "textbox",
  "locationId": "",
  "Method": "AddcustomField"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "FieldType": "textbox",
  "locationId": "",
  "Method": "AddcustomField"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "FieldType": "textbox",
  "locationId": "",
  "Method": "AddcustomField"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "FieldName" => "Age",
  "FieldType" => "textbox",
  "locationId" => "",
  "Method" => "AddcustomField"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

UpdateCustomField

POSTMethod: UpdateCustomFieldCustom Fields

Update Custom Field.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
PreviousFieldNamestringRequiredCurrent name of the custom field
newFieldNamestringRequiredNew name for the custom field
newFieldTypestringOptionalNew field type: textbox, textarea, date, radio, select
FieldOptionsarrayOptionalRequired when newFieldType is radio or select
MethodstringRequiredMust be set to UpdateCustomField

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "PreviousFieldName": "Street Address",
  "newFieldName": "Company Address",
  "newFieldType": "textbox",
  "locationId": "",
  "Method": "UpdateCustomField"
}

Success Response

{
  "response": "true",
  "FieldName": "age",
  "locationId": "",
  "custom_field_id": "",
  "message": "Custom Field has been successfully updated"
}

Error Response

{
  "response": "false",
  "message": "Requested location setting not found"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "PreviousFieldName": "Street Address",
  "newFieldName": "Company Address",
  "newFieldType": "textbox",
  "locationId": "",
  "Method": "UpdateCustomField"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "PreviousFieldName": "Street Address",
  "newFieldName": "Company Address",
  "newFieldType": "textbox",
  "locationId": "",
  "Method": "UpdateCustomField"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "PreviousFieldName": "Street Address",
  "newFieldName": "Company Address",
  "newFieldType": "textbox",
  "locationId": "",
  "Method": "UpdateCustomField"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "PreviousFieldName" => "Street Address",
  "newFieldName" => "Company Address",
  "newFieldType" => "textbox",
  "locationId" => "",
  "Method" => "UpdateCustomField"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

CheckCustomField

POSTMethod: CheckCustomFieldCustom Fields

Check Custom Field.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
FieldNamestringRequiredName of the custom field to check
MethodstringRequiredMust be set to CheckCustomField

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "CheckCustomField"
}

Success Response

{
  "response": "True",
  "FieldName": "Age",
  "message": "Provided Custom Field Exist"
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "CheckCustomField"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "CheckCustomField"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "CheckCustomField"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "FieldName" => "Age",
  "Method" => "CheckCustomField"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

DeleteCustomField

POSTMethod: DeleteCustomFieldCustom Fields

Delete Custom Field.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
FieldNamestringRequiredName of the custom field to delete
MethodstringRequiredMust be set to DeleteCustomField

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "DeleteCustomField"
}

Success Response

{
  "response": "true",
  "FieldName": "age",
  "message": "Provided Custom Field has been successfully Deleted"
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "DeleteCustomField"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "DeleteCustomField"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "FieldName": "Age",
  "Method": "DeleteCustomField"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "FieldName" => "Age",
  "Method" => "DeleteCustomField"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

SearchLeads

POSTMethod: SearchByUserInputLeads

Search By User Input.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
GroupIdstringRequiredLead's Group ID. When provided without searchText, all leads in this group are returned.
searchFieldstringRequiredField to search by. Allowed: leadId, first_name, last_name, email, phone, mobile. Required if searchText is provided.
searchTextstringRequiredValue to search for. Can be empty when searching by GroupId only.
sortBystringRequiredSort order: ASC or DESC. Default: ASC.
MethodstringRequiredMust be set to SearchByUserInput

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "first_name",
  "searchText": "Test",
  "locationId": "loc_1234567890xyz",
  "sortBy": "ASC",
  "Method": "SearchByUserInput"
}

Success Response

{
  "response": "true",
  "Results": [
    {
      "LeadId": "5964",
      "GroupId": "",
      "Tags": "",
      "Firstname": "Test",
      "Lastname": "user",
      "E-Mail": "tes@leaduser.com",
      "Phone": "3337991895",
      "Mobile": "3467991895",
      "CountryCode": "+1",
      "Zipcode": "",
      "City": "",
      "State": "",
      "Address": "",
      "Company": "",
      "Website": "",
      "Lead_Custom_Fields": "",
      "LocationId": "loc_1234567890xyz"
    }
  ],
  "message": "Lead Records"
}

Error Response

{
  "response": "false",
  "message": "No results found against your provided search/filter."
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "first_name",
  "searchText": "Test",
  "locationId": "loc_1234567890xyz",
  "sortBy": "ASC",
  "Method": "SearchByUserInput"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "first_name",
  "searchText": "Test",
  "locationId": "loc_1234567890xyz",
  "sortBy": "ASC",
  "Method": "SearchByUserInput"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "first_name",
  "searchText": "Test",
  "locationId": "loc_1234567890xyz",
  "sortBy": "ASC",
  "Method": "SearchByUserInput"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "GroupId" => "1",
  "searchField" => "first_name",
  "searchText" => "Test",
  "locationId" => "loc_1234567890xyz",
  "sortBy" => "ASC",
  "Method" => "SearchByUserInput"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

SearchLeadsByCustomField

POSTMethod: SearchByCustomFieldLeads

Search By Custom Field.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
GroupIdstringRequiredLead's Group ID. Returns all leads in group when searchText is empty.
searchFieldstringRequiredAny valid custom field key (field name inside lead_custom_fields)
searchTextstringRequiredValue to search for in the specified custom field. Can be empty to fetch all leads in the group.
sortBystringRequiredSort order: ASC or DESC. Default: ASC.
MethodstringRequiredMust be set to SearchByCustomField

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "custom_field",
  "searchText": "custom_field_value",
  "sortBy": "ASC",
  "Method": "SearchByCustomField"
}

Success Response

{
  "response": "true",
  "Results": [
    {
      "LeadId": "5964",
      "GroupId": "",
      "Tags": "",
      "Firstname": "Test",
      "Lastname": "user",
      "E-Mail": "tes@leaduser.com",
      "Phone": "3337991895",
      "Mobile": "3467991895",
      "CountryCode": "+1",
      "Zipcode": "",
      "City": "",
      "State": "",
      "Address": "",
      "Company": "",
      "Website": "",
      "Lead_Custom_Fields": ""
    }
  ],
  "message": "Lead Records"
}

Error Response

{
  "response": "false",
  "message": "No results found against your provided search/filter."
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "custom_field",
  "searchText": "custom_field_value",
  "sortBy": "ASC",
  "Method": "SearchByCustomField"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "custom_field",
  "searchText": "custom_field_value",
  "sortBy": "ASC",
  "Method": "SearchByCustomField"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "GroupId": "1",
  "searchField": "custom_field",
  "searchText": "custom_field_value",
  "sortBy": "ASC",
  "Method": "SearchByCustomField"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "GroupId" => "1",
  "searchField" => "custom_field",
  "searchText" => "custom_field_value",
  "sortBy" => "ASC",
  "Method" => "SearchByCustomField"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

UnSubscribeLead

POSTMethod: Un_SubscribeLeadLeads

Un Subscribe Lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
unsubscribeBystringRequiredIdentify the lead by: leadId, email, phone, or mobile
unsubscribeValuestringRequiredThe corresponding value of the chosen unsubscribeBy field
MethodstringRequiredMust be set to Un_SubscribeLead

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "unsubscribeBy": "leadId",
  "unsubscribeValue": "6016",
  "Method": "Un_SubscribeLead"
}

Success Response

{
  "response": "true",
  "leadId": "6016",
  "unsubscribeBy": "leadId",
  "unsubscribeValue": "6016",
  "message": "leadId (6016)  has been successfully unsubscribed"
}

Error Response

{
  "response": "false",
  "message": "No such lead exist against provided unsubscribeValue:$unsubscribeValue"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "unsubscribeBy": "leadId",
  "unsubscribeValue": "6016",
  "Method": "Un_SubscribeLead"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "unsubscribeBy": "leadId",
  "unsubscribeValue": "6016",
  "Method": "Un_SubscribeLead"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "unsubscribeBy": "leadId",
  "unsubscribeValue": "6016",
  "Method": "Un_SubscribeLead"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "unsubscribeBy" => "leadId",
  "unsubscribeValue" => "6016",
  "Method" => "Un_SubscribeLead"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

UpdateLead

POSTMethod: UpdateExistingLeadLeads

Update Existing Lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
LeadFieldstringRequiredField to update. Allowed: first_name, last_name, email, mobile, phone, city, state, zip, address, company, website, additional_Info
LeadDatastringRequiredNew value for the specified field
LeadIdstringRequiredID of the lead to update
MethodstringRequiredMust be set to UpdateExistingLead

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadField": "first_name",
  "LeadData": "Support",
  "LeadId": "5976",
  "Method": "UpdateExistingLead"
}

Success Response

{
  "response": "true",
  "LeadId": "5976",
  "UserField": "first_name",
  "UserData": "Support",
  "message": "Lead Field Updated Successfully"
}

Error Response

{
  "response": "false",
  "message": "No record found for provided leadId: $leadId "
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadField": "first_name",
  "LeadData": "Support",
  "LeadId": "5976",
  "Method": "UpdateExistingLead"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadField": "first_name",
  "LeadData": "Support",
  "LeadId": "5976",
  "Method": "UpdateExistingLead"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadField": "first_name",
  "LeadData": "Support",
  "LeadId": "5976",
  "Method": "UpdateExistingLead"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "LeadField" => "first_name",
  "LeadData" => "Support",
  "LeadId" => "5976",
  "Method" => "UpdateExistingLead"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

MoveLeadToGroup

POSTMethod: MoveLeadLeads

Move Lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
moveGroupIdstringRequiredID of the destination group. All previous group assignments will be removed.
LeadIdstringRequiredID of the lead to move
MethodstringRequiredMust be set to MoveLead

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "moveGroupId": "5465",
  "LeadId": "5964",
  "Method": "MoveLead"
}

Success Response

{
  "response": "true",
  "LeadId": "5964",
  "moveGroupId": "5754",
  "message": "Lead moved Successfully"
}

Error Response

{
  "response": "false",
  "message": "No Records Found for provided moveGroupId $moveGroupId"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "moveGroupId": "5465",
  "LeadId": "5964",
  "Method": "MoveLead"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "moveGroupId": "5465",
  "LeadId": "5964",
  "Method": "MoveLead"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "moveGroupId": "5465",
  "LeadId": "5964",
  "Method": "MoveLead"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "moveGroupId" => "5465",
  "LeadId" => "5964",
  "Method" => "MoveLead"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

CopyLeadToGroup

POSTMethod: CopyLeadLeads

Copy Lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
copyGroupIdstringRequiredID of the group to copy the lead into
LeadIdstringRequiredID of the lead to copy
MethodstringRequiredMust be set to CopyLead

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "copyGroupId": "5787",
  "LeadId": "5964",
  "Method": "CopyLead"
}

Success Response

{
  "response": "true",
  "LeadId": "5964",
  "copyGroupId": "5787",
  "message": "Lead copied Successfully"
}

Error Response

{
  "response": "false",
  "message": "No Records Found for provided copyGroupId $copyGroupId"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "copyGroupId": "5787",
  "LeadId": "5964",
  "Method": "CopyLead"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "copyGroupId": "5787",
  "LeadId": "5964",
  "Method": "CopyLead"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "copyGroupId": "5787",
  "LeadId": "5964",
  "Method": "CopyLead"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "copyGroupId" => "5787",
  "LeadId" => "5964",
  "Method" => "CopyLead"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddLeadToGroup

POSTMethod: AddSingleLeadLeads

Add Single Lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
groupIdstringRequiredID of the group to add the lead to
email / phone / mobilestringRequiredAt least one contact identifier is required
first_name, last_name, …stringOptionalDefault fields: first_name, last_name, country_code, city, state, zip, address, company, website, additional_Info. Any other field is treated as a custom field.
tagIdarrayOptionalArray of tag IDs to assign to the lead
MethodstringRequiredMust be set to AddSingleLead

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "tagId": [
    1234,
    123
  ],
  "first_name": "Support",
  "last_name": "Team",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "country_code": "+1",
  "website": "http://www.leadomain.com",
  "company": "Courtyard by Marriott",
  "zip": "35000",
  "address": "152 W 10th St New York NY",
  "Sample Custom Field": "Sample Value",
  "title": "test",
  "Method": "AddSingleLead"
}

Success Response

{
  "response": "true",
  "AddedleadId": 6034,
  "groupId": "5787",
  "message": "Lead has been added successfully"
}

Error Response

{
  "response": "false",
  "message": "Either email or phone or mobile field required"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "tagId": [
    1234,
    123
  ],
  "first_name": "Support",
  "last_name": "Team",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "country_code": "+1",
  "website": "http://www.leadomain.com",
  "company": "Courtyard by Marriott",
  "zip": "35000",
  "address": "152 W 10th St New York NY",
  "Sample Custom Field": "Sample Value",
  "title": "test",
  "Method": "AddSingleLead"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "tagId": [
    1234,
    123
  ],
  "first_name": "Support",
  "last_name": "Team",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "country_code": "+1",
  "website": "http://www.leadomain.com",
  "company": "Courtyard by Marriott",
  "zip": "35000",
  "address": "152 W 10th St New York NY",
  "Sample Custom Field": "Sample Value",
  "title": "test",
  "Method": "AddSingleLead"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "tagId": [
    1234,
    123
  ],
  "first_name": "Support",
  "last_name": "Team",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "country_code": "+1",
  "website": "http://www.leadomain.com",
  "company": "Courtyard by Marriott",
  "zip": "35000",
  "address": "152 W 10th St New York NY",
  "Sample Custom Field": "Sample Value",
  "title": "test",
  "Method": "AddSingleLead"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "groupId" => "5787",
  "tagId" => [
    1234,
    123
  ],
  "first_name" => "Support",
  "last_name" => "Team",
  "email" => "support@xyz.com",
  "phone" => "3465656235",
  "mobile" => "3465656235",
  "country_code" => "+1",
  "website" => "http://www.leadomain.com",
  "company" => "Courtyard by Marriott",
  "zip" => "35000",
  "address" => "152 W 10th St New York NY",
  "Sample Custom Field" => "Sample Value",
  "title" => "test",
  "Method" => "AddSingleLead"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

RemoveLeadFromGroup

POSTMethod: RemoveSingleLeadLeads

Remove Single Lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
groupIdstringRequiredID of the group to remove the lead from
email / phone / mobilestringRequiredAt least one field to identify the lead
MethodstringRequiredMust be set to RemoveSingleLead

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "Method": "RemoveSingleLead"
}

Success Response

{
  "response": "true",
  "RemovedleadId": 6034,
  "groupId": "5787",
  "message": "Group successfully removed from Lead"
}

Error Response

{
  "response": "false",
  "message": "Either email or phone or mobile field required"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "Method": "RemoveSingleLead"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "Method": "RemoveSingleLead"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5787",
  "email": "support@xyz.com",
  "phone": "3465656235",
  "mobile": "3465656235",
  "Method": "RemoveSingleLead"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "groupId" => "5787",
  "email" => "support@xyz.com",
  "phone" => "3465656235",
  "mobile" => "3465656235",
  "Method" => "RemoveSingleLead"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddMultipleLeadsToGroup

POSTMethod: AddMultipleLeadsLeads

Add Multiple Leads.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
groupIdstringRequiredID of the group to add leads to
leads_arrayarrayRequiredArray of lead objects. Maximum 100 leads per request. Each lead requires at least one of email, phone, or mobile.
tagIdarrayOptionalArray of tag IDs to assign to all leads in the batch
MethodstringRequiredMust be set to AddMultipleLeads

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5656",
  "tagId" : [1234,123],
  "leads_array": [
  {
    "first_name": "Support",
    "last_name": "Team1",
    "email": "support1@xyz.com",
    "phone": "3465656111",
    "mobile": "3465656111",
    "country_code": "+1",
    "website": "http://www.leaddomain.com",
    "company": "Courtyard by Marriott New York",
    "zip": "35000",
    "address": "152 W 10th St New York NY",
    "title": "test",
    "Sample Custom Field": "Sample Value"
    },
    {
      "first_name": "Support",
      "last_name": "Team2",
      "email": "support1@xyz.com",
      "phone": "3465656222",
      "mobile": "3465656222",
      "country_code": "+1",
      "website": "http://www.leaddomain.com",
      "company": "Courtyard by Marriott New York",
      "zip": "35000",
      "address": "152 W 10th St New York NY",
      "title": "test",
      "Sample Custom Field": "Sample Value"
    }
    ],
    "Method": "AddMultipleLeads"
RESPONSE
Copy
{
      "response": "true",
      "message": "Add leads request has been successfully submitted to the queue and will be processed shortly"
    }

Success Response

{
  "response": "true",
  "message": "Add leads request has been successfully submitted to the queue and will be processed shortly"
}

Error Response

{
  "response": "false",
  "message": "No records found for provided groupId: $groupId"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5656",
  "tagId" : [1234,123],
  "leads_array": [
  {
    "first_name": "Support",
    "last_name": "Team1",
    "email": "support1@xyz.com",
    "phone": "3465656111",
    "mobile": "3465656111",
    "country_code": "+1",
    "website": "http://www.leaddomain.com",
    "company": "Courtyard by Marriott New York",
    "zip": "35000",
    "address": "152 W 10th St New York NY",
    "title": "test",
    "Sample Custom Field": "Sample Value"
    },
    {
      "first_name": "Support",
      "last_name": "Team2",
      "email": "support1@xyz.com",
      "phone": "3465656222",
      "mobile": "3465656222",
      "country_code": "+1",
      "website": "http://www.leaddomain.com",
      "company": "Courtyard by Marriott New York",
      "zip": "35000",
      "address": "152 W 10th St New York NY",
      "title": "test",
      "Sample Custom Field": "Sample Value"
    }
    ],
    "Method": "AddMultipleLeads"
RESPONSE
Copy
{
      "response": "true",
      "message": "Add leads request has been successfully submitted to the queue and will be processed shortly"
    }'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5656",
  "tagId" : [1234,123],
  "leads_array": [
  {
    "first_name": "Support",
    "last_name": "Team1",
    "email": "support1@xyz.com",
    "phone": "3465656111",
    "mobile": "3465656111",
    "country_code": "+1",
    "website": "http://www.leaddomain.com",
    "company": "Courtyard by Marriott New York",
    "zip": "35000",
    "address": "152 W 10th St New York NY",
    "title": "test",
    "Sample Custom Field": "Sample Value"
    },
    {
      "first_name": "Support",
      "last_name": "Team2",
      "email": "support1@xyz.com",
      "phone": "3465656222",
      "mobile": "3465656222",
      "country_code": "+1",
      "website": "http://www.leaddomain.com",
      "company": "Courtyard by Marriott New York",
      "zip": "35000",
      "address": "152 W 10th St New York NY",
      "title": "test",
      "Sample Custom Field": "Sample Value"
    }
    ],
    "Method": "AddMultipleLeads"
RESPONSE
Copy
{
      "response": "true",
      "message": "Add leads request has been successfully submitted to the queue and will be processed shortly"
    })
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "groupId": "5656",
  "tagId" : [1234,123],
  "leads_array": [
  {
    "first_name": "Support",
    "last_name": "Team1",
    "email": "support1@xyz.com",
    "phone": "3465656111",
    "mobile": "3465656111",
    "country_code": "+1",
    "website": "http://www.leaddomain.com",
    "company": "Courtyard by Marriott New York",
    "zip": "35000",
    "address": "152 W 10th St New York NY",
    "title": "test",
    "Sample Custom Field": "Sample Value"
    },
    {
      "first_name": "Support",
      "last_name": "Team2",
      "email": "support1@xyz.com",
      "phone": "3465656222",
      "mobile": "3465656222",
      "country_code": "+1",
      "website": "http://www.leaddomain.com",
      "company": "Courtyard by Marriott New York",
      "zip": "35000",
      "address": "152 W 10th St New York NY",
      "title": "test",
      "Sample Custom Field": "Sample Value"
    }
    ],
    "Method": "AddMultipleLeads"
RESPONSE
Copy
{
      "response": "true",
      "message": "Add leads request has been successfully submitted to the queue and will be processed shortly"
    }
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "groupId" => "5656",
  "tagId" : [1234,123],
  "leads_array" => [
  {
    "first_name" => "Support",
    "last_name" => "Team1",
    "email" => "support1@xyz.com",
    "phone" => "3465656111",
    "mobile" => "3465656111",
    "country_code" => "+1",
    "website" => "http://www.leaddomain.com",
    "company" => "Courtyard by Marriott New York",
    "zip" => "35000",
    "address" => "152 W 10th St New York NY",
    "title" => "test",
    "Sample Custom Field" => "Sample Value"
    },
    {
      "first_name" => "Support",
      "last_name" => "Team2",
      "email" => "support1@xyz.com",
      "phone" => "3465656222",
      "mobile" => "3465656222",
      "country_code" => "+1",
      "website" => "http://www.leaddomain.com",
      "company" => "Courtyard by Marriott New York",
      "zip" => "35000",
      "address" => "152 W 10th St New York NY",
      "title" => "test",
      "Sample Custom Field" => "Sample Value"
    }
    ],
    "Method" => "AddMultipleLeads"
RESPONSE
Copy
{
      "response" => "true",
      "message" => "Add leads request has been successfully submitted to the queue and will be processed shortly"
    ];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchLeadFieldsName

POSTMethod: FetchLeadFieldsNameLead Metadata

Fetch Lead Fields Name.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to FetchLeadFieldsName

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchLeadFieldsName"
}

Success Response

{
      "response":"true",
      "FieldsName":"
      {
        "Default":
        [
        "first_name",
        "last_name",
        "title",
        "email",
        "phone",
        "mobile",
        "country_code",
        "company",
        "website",
        "address",
        "city",
        "state",
        "zip",
        "additional_Info"
        ],
        "Custom":
        [
        "loan_amount",
        "ricochet_lead_id",
        "prospect_created_at",
        "current_status_name",
        "last_statused_at",
        "lead_source"
        ]
        }",
        "message":"Default and Custom Fields provided!"
      }

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchLeadFieldsName"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchLeadFieldsName"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchLeadFieldsName"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "FetchLeadFieldsName"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchLeadNotes

POSTMethod: FetchLeadNotesLead Metadata

Retrieve all notes attached to a specific lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
leadIdintegerRequiredThe internal ID of the lead whose notes you want to fetch
MethodstringRequiredMust be set to FetchLeadNotes

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "Method": "FetchLeadNotes"
}

Success Response

{
  "response": "true",
  "message": "3 notes found",
  "notes": [
    {
      "noteId": 1,
      "note": "Called — left voicemail",
      "type": "manual",
      "added_by": 101,
      "dated": "2026-05-14 10:30:00"
    },
    {
      "noteId": 2,
      "note": "SMS : Sent",
      "type": "sms",
      "added_by": 101,
      "dated": "2026-05-14 11:00:00"
    }
  ]
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "Method": "FetchLeadNotes"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "Method": "FetchLeadNotes"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "Method": "FetchLeadNotes"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "leadId" => 12345,
  "Method" => "FetchLeadNotes"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddLeadTags

POSTMethod: AddLeadTagsLead Metadata

Assign one or more existing tags to a specific lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
leadIdintegerRequiredThe internal ID of the lead to tag
tagIdstringRequiredComma-separated tag IDs to assign (e.g. 5,12,18). Use FetchAllTags to look up tag IDs.
MethodstringRequiredMust be set to AddLeadTags

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12,18",
  "Method": "AddLeadTags"
}

Success Response

{
  "response": "true",
  "message": "Tags assigned successfully",
  "leadId": 12345,
  "tags_assigned": [5, 12, 18]
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12,18",
  "Method": "AddLeadTags"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12,18",
  "Method": "AddLeadTags"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12,18",
  "Method": "AddLeadTags"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "leadId" => 12345,
  "tagId" => "5,12,18",
  "Method" => "AddLeadTags"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

RemoveLeadTags

POSTMethod: RemoveLeadTagsLead Metadata

Remove one or more tags from a specific lead.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
leadIdintegerRequiredThe internal ID of the lead to untag
tagIdstringRequiredComma-separated tag IDs to remove (e.g. 5,12). Use FetchAllTags to look up tag IDs.
MethodstringRequiredMust be set to RemoveLeadTags

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12",
  "Method": "RemoveLeadTags"
}

Success Response

{
  "response": "true",
  "message": "Tags removed successfully",
  "leadId": 12345,
  "tags_removed": [5, 12]
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12",
  "Method": "RemoveLeadTags"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12",
  "Method": "RemoveLeadTags"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "leadId": 12345,
  "tagId": "5,12",
  "Method": "RemoveLeadTags"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "leadId" => 12345,
  "tagId" => "5,12",
  "Method" => "RemoveLeadTags"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchLeadCallLogs

POSTMethod: FetchLeadCallLogsPer-Lead Logs

Fetch Lead Call Logs.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
LeadId / LeadPhone / LeadEmailstringRequiredAt least one of LeadId, LeadPhone, or LeadEmail must be provided
typestringOptionalCall type filter: inbound or outbound
from_datestringOptionalStart date filter (Y-m-d)
to_datestringOptionalEnd date filter (Y-m-d)
MethodstringRequiredMust be set to FetchLeadCallLogs

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "type": "inbound",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadCallLogs"
}

Success Response

{
        "response": "true",
        "Results": [
        {
          "leadId": "5964",
          "lead_Name": "",
          "location_name": "",
          "from_number": "3337991895",
          "to_number": "3337991895",
          "call_time": "Jul mm, yyyy 5:18 am",
          "transfer": "
          "state": "",
          "city": "",
          "duration": "",
          "recording":"",
          "call_status":"",
          "speed_to_lead":""
        }
        ],
        "message": "Lead Call Records"
      }

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "type": "inbound",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadCallLogs"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "type": "inbound",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadCallLogs"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "type": "inbound",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadCallLogs"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "LeadId" => "5964",
  "LeadPhone" => "**********",
  "LeadEmail" => "xyz@xyx.com",
  "type" => "inbound",
  "from_date" => "2024-05-01",
  "to_date" => "2024-12-31",
  "Method" => "FetchLeadCallLogs"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchLeadSMSLogs

POSTMethod: FetchLeadSMSLogsPer-Lead Logs

Fetch Lead SMSLogs.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
LeadId / LeadPhone / LeadEmailstringRequiredAt least one of LeadId, LeadPhone, or LeadEmail must be provided
from_datestringOptionalStart date filter (Y-m-d)
to_datestringOptionalEnd date filter (Y-m-d)
MethodstringRequiredMust be set to FetchLeadSMSLogs

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadSMSLogs"
}

Success Response

{
  "response": "true",
  "Results": [
    {
      "leadId": "5964",
      "lead_Name": "",
      "from_number": "3337991895",
      "to_number": "3337991895",
      "message": "test",
      "dated": "May 31, 2024 10:47 am",
      "status": "Sent",
      "messageId": "29898693"
    }
  ],
  "message": "Lead SMS Records"
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadSMSLogs"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadSMSLogs"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadSMSLogs"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "LeadId" => "5964",
  "LeadPhone" => "**********",
  "LeadEmail" => "xyz@xyx.com",
  "from_date" => "2024-05-01",
  "to_date" => "2024-12-31",
  "Method" => "FetchLeadSMSLogs"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchLeadRVMLogs

POSTMethod: FetchLeadRVMLogsPer-Lead Logs

Fetch Lead RVMLogs.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
LeadId / LeadPhone / LeadEmailstringRequiredAt least one of LeadId, LeadPhone, or LeadEmail must be provided
from_datestringOptionalStart date filter (Y-m-d)
to_datestringOptionalEnd date filter (Y-m-d)
MethodstringRequiredMust be set to FetchLeadRVMLogs

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadRVMLogs"
}

Success Response

{
        "response": "true",
        "Results": [
        {
          "leadId": "5964",
          "lead_Name": "",
          "from_number": "3337991895",
          "to_number": "3337991895",
          "group": "",
          "dated": "",
          "voice_file": "
          "duration": "",
          "vmId":""
        }
        ],
        "message": "Lead RVM Records"
      }

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadRVMLogs"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadRVMLogs"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "LeadId": "5964",
  "LeadPhone": "**********",
  "LeadEmail": "xyz@xyx.com",
  "from_date": "2024-05-01",
  "to_date": "2024-12-31",
  "Method": "FetchLeadRVMLogs"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "LeadId" => "5964",
  "LeadPhone" => "**********",
  "LeadEmail" => "xyz@xyx.com",
  "from_date" => "2024-05-01",
  "to_date" => "2024-12-31",
  "Method" => "FetchLeadRVMLogs"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchUserSMSLogs

POSTMethod: FetchUserSMSLogsAccount Logs

Fetch User SMSLogs.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to FetchUserSMSLogs
from_datestringOptionalStart date filter (Y-m-d)
to_datestringOptionalEnd date filter (Y-m-d)
directionstringOptionalFilter by direction: inbound (Received), outbound (Sent & Failed), or empty for all
groupIdstringOptionalFilter by group ID
leadIdstringOptionalFilter to a single lead ID
statusstringOptionalFilter by SMS status: Sent, Received, or Failed
limitintegerOptionalNumber of records to return (default: 100)
offsetintegerOptionalRecords to skip for pagination (default: 0)

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserSMSLogs",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "direction": "outbound",
  "groupId": "236",
  "leadId": "",
  "status": "",
  "limit": 100,
  "offset": 0
}

Success Response

[
  {
    "response": "true",
    "Results": [
      {
        "leadId": "10000001",
        "lead_Name": "John Doe",
        "from_number": "+15550000001",
        "to_number": "+15550000002",
        "message": "Hi, just following up on your inquiry.",
        "dated": "Apr 15, 2026 10:30 am",
        "status": "Sent",
        "direction": "outbound",
        "groupId": "236",
        "tags": "12,45",
        "messageId": "900001"
      },
      {
        "leadId": "10000002",
        "lead_Name": "Jane Smith",
        "from_number": "+15550000003",
        "to_number": "+15550000004",
        "message": "Thank you for reaching out!",
        "dated": "Apr 15, 2026 11:45 am",
        "status": "Received",
        "direction": "inbound",
        "groupId": "236",
        "tags": "",
        "messageId": "900002"
      }
    ],
    "total_records": 1520,
    "returned_records": 2,
    "limit": 2,
    "offset": 0,
    "has_more": true,
    "next_offset": 2,
    "message": "There are 1520 SMS"
  }
]

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserSMSLogs",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "direction": "outbound",
  "groupId": "236",
  "leadId": "",
  "status": "",
  "limit": 100,
  "offset": 0
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserSMSLogs",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "direction": "outbound",
  "groupId": "236",
  "leadId": "",
  "status": "",
  "limit": 100,
  "offset": 0
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserSMSLogs",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "direction": "outbound",
  "groupId": "236",
  "leadId": "",
  "status": "",
  "limit": 100,
  "offset": 0
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "FetchUserSMSLogs",
  "from_date" => "2026-05-01",
  "to_date" => "2026-05-07",
  "direction" => "outbound",
  "groupId" => "236",
  "leadId" => "",
  "status" => "",
  "limit" => 100,
  "offset" => 0
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchUserCallLog

POSTMethod: FetchUserCallLogAccount Logs

Fetch User Call Log.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to FetchUserCallLog
from_datestringOptionalStart date filter (Y-m-d). Max range 30 days.
to_datestringOptionalEnd date filter (Y-m-d)
typestringOptionalCall direction: inbound, outbound, or empty for both
campaignIdstringOptionalFilter by outbound campaign ID
groupIdstringOptionalFilter by group ID
memberIdstringOptionalFilter by agent/member ID
statusIdstringOptionalFilter by call status ID
min_durationintegerOptionalMinimum call duration in seconds
max_durationintegerOptionalMaximum call duration in seconds
search_phonestringOptionalSearch by phone number (from or to)
transfer_onlystringOptionalReturn only transferred calls: Yes or No
limitintegerOptionalNumber of records to return (default: 100)
offsetintegerOptionalRecords to skip for pagination (default: 0)
sort_bystringOptionalSort field: call_time (default) or duration
sort_orderstringOptionalSort direction: DESC (default) or ASC

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserCallLog",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "type": "inbound",
  "campaignId": "",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 0,
  "max_duration": 0,
  "search_phone": "",
  "transfer_only": "",
  "limit": 100,
  "offset": 0,
  "sort_by": "call_time",
  "sort_order": "DESC"
}

Success Response

{
  "response": "true",
  "Results": [
    {
      "leadId": "10000001",
      "lead_Name": "Test Lead A",
      "from_number": "+10000000001",
      "to_number": "+10000000002",
      "recording": "",
      "group": "Group A",
      "caller_name": "Agent One",
      "call_time": "Apr 15, 2026 6:34 pm",
      "duration": "84",
      "city": "Test City",
      "state": "TS",
      "transfer": "Yes",
      "recordingId": "900001",
      "call_status": "completed",
      "call_type": "inbound",
      "speed_to_lead": 300,
      "campaignId": "11111",
      "statusId": "0"
    },
    {
      "leadId": "10000002",
      "lead_Name": "Sample Lead B",
      "from_number": "+10000000003",
      "to_number": "+10000000004",
      "recording": "",
      "group": "Group B",
      "caller_name": "Agent Two",
      "call_time": "Apr 15, 2026 3:36 pm",
      "duration": "23",
      "city": "Demo City",
      "state": "DM",
      "transfer": "No",
      "recordingId": "900002",
      "call_status": "completed",
      "call_type": "outbound",
      "speed_to_lead": 120,
      "campaignId": "22222",
      "statusId": "1"
    }
  ],
  "total_records": 30481,
  "returned_records": 2,
  "limit": 100,
  "offset": 0,
  "has_more": true,
  "next_offset": 100,
  "message": "There are 5491 inbound & 24990 outbound Call(s) (Total: 30481)",
  "inbound_count": "5491",
  "outbound_count": "24990"
}

Error Response

{
  "response": "false",
  "message": "Invalid (login email or password)/(api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserCallLog",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "type": "inbound",
  "campaignId": "",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 0,
  "max_duration": 0,
  "search_phone": "",
  "transfer_only": "",
  "limit": 100,
  "offset": 0,
  "sort_by": "call_time",
  "sort_order": "DESC"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserCallLog",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "type": "inbound",
  "campaignId": "",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 0,
  "max_duration": 0,
  "search_phone": "",
  "transfer_only": "",
  "limit": 100,
  "offset": 0,
  "sort_by": "call_time",
  "sort_order": "DESC"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchUserCallLog",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "type": "inbound",
  "campaignId": "",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 0,
  "max_duration": 0,
  "search_phone": "",
  "transfer_only": "",
  "limit": 100,
  "offset": 0,
  "sort_by": "call_time",
  "sort_order": "DESC"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "FetchUserCallLog",
  "from_date" => "2026-05-01",
  "to_date" => "2026-05-07",
  "type" => "inbound",
  "campaignId" => "",
  "groupId" => "236",
  "memberId" => "",
  "statusId" => "",
  "min_duration" => 0,
  "max_duration" => 0,
  "search_phone" => "",
  "transfer_only" => "",
  "limit" => 100,
  "offset" => 0,
  "sort_by" => "call_time",
  "sort_order" => "DESC"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

AddMemberUser

POSTMethod: addMemberUserMembers

Add Member User.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to addMemberUser
first_namestringRequiredFirst name of the new user
last_namestringRequiredLast name of the new user
emailstringRequiredUnique email address for the new user
inbound_phonestringRequiredInbound phone number
passwordstringRequiredMinimum 8 characters, at least 1 uppercase and 1 lowercase

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "addMemberUser",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "password": "a-sasdasdsA3"
}

Success Response

{
  "response": "true",
  "message": "Team member added successfully."
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "addMemberUser",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "password": "a-sasdasdsA3"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "addMemberUser",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "password": "a-sasdasdsA3"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "addMemberUser",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "password": "a-sasdasdsA3"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "addMemberUser",
  "first_name" => "Support",
  "last_name" => "team",
  "email" => "abcxyz@gmail.com",
  "inbound_phone" => "14087777111",
  "password" => "a-sasdasdsA3",
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

EditMemberUser

POSTMethod: editMemberUserMembers

Edit Member User.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to editMemberUser
memberIdstringRequiredID of the member to update
first_namestringRequiredFirst name of the member
last_namestringRequiredLast name of the member
emailstringRequiredEmail address of the member
inbound_phonestringOptionalInbound phone number
member_statusstringOptionalStatus of the member: Active or Inactive
passwordstringOptionalNew password. Minimum 8 characters, at least 1 uppercase and 1 lowercase.

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "editMemberUser",
  "memberId": "967",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "member_status": "Active"
}

Success Response

{
  "response": "true",
  "message": "Member updated successfully."
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "editMemberUser",
  "memberId": "967",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "member_status": "Active"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "editMemberUser",
  "memberId": "967",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "member_status": "Active"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "editMemberUser",
  "memberId": "967",
  "first_name": "Support",
  "last_name": "team",
  "email": "abcxyz@gmail.com",
  "inbound_phone": "14087777111",
  "member_status": "Active"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "editMemberUser",
  "memberId" => "967",
  "first_name" => "Support",
  "last_name" => "team",
  "email" => "abcxyz@gmail.com",
  "inbound_phone" => "14087777111",
  "member_status" => "Active"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

ViewAllMemberUsers

POSTMethod: getMemberUsersMembers

Get Member Users.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to getMemberUsers

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberUsers"
}

Success Response

{
  "response": "true",
  "data": [
    {
      "memberId": "3232",
      "first_name": "Support",
      "last_name": "Team",
      "email": "abc@hotmail.com",
      "title": "",
      "company": "",
      "country": "USA",
      "state": "",
      "city": "",
      "zip": "",
      "street_address": "",
      "industry": "",
      "main_time_zone": "America",
      "sub_time_zone": "America/Chicago",
      "inbound_phone": "",
      "direct_number": "+12345678900",
      "direct_call_recording": "false",
      "outbound_call_recording": "No",
      "outbound_phone": "",
      "inbound_call_option": "1",
      "inbound_call_option_label": "Ring Browser",
      "phone_extension": "",
      "member_status": "Active",
      "dated": "2025-01-21 15:28:07"
    },
    {
      "memberId": "3233",
      "first_name": "Support",
      "last_name": "team2",
      "email": "xyz@gmail.com",
      "title": "",
      "company": "",
      "country": "USA",
      "state": "",
      "city": "",
      "zip": "",
      "street_address": "",
      "industry": "",
      "main_time_zone": "America",
      "sub_time_zone": "America/Chicago",
      "inbound_phone": "",
      "direct_number": "+12345678900",
      "direct_call_recording": "false",
      "outbound_call_recording": "No",
      "outbound_phone": "",
      "inbound_call_option": "1",
      "inbound_call_option_label": "Ring Browser",
      "phone_extension": "",
      "member_status": "Active",
      "dated": "2025-01-21 15:28:07"
    }
  ]
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberUsers"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberUsers"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberUsers"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "getMemberUsers"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

CheckMembersLimit

POSTMethod: checkMemberLimitMembers

Check Member Limit.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to checkMemberLimit

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "checkMemberLimit"
}

Success Response

{
  "response": "true",
  "message": "record",
  "data": {
    "total_user": "10",
    "active_user": "8",
    "remaining_user": "2"
  }
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "checkMemberLimit"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "checkMemberLimit"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "checkMemberLimit"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "checkMemberLimit"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

DeleteMemberUser

POSTMethod: deleteMemberUserMembers

Delete Member User.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to deleteMemberUser
memberIdstringRequiredID of the member to delete

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "deleteMemberUser",
  "memberId": "434"
}

Success Response

{
  "response": "true",
  "message": "Member deleted successfully."
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "deleteMemberUser",
  "memberId": "434"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "deleteMemberUser",
  "memberId": "434"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "deleteMemberUser",
  "memberId": "434"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "deleteMemberUser",
  "memberId" => "434"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchMemberCredits

POSTMethod: fetchCreditCountMembers

Fetch Credit Count.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to fetchCreditCount

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "fetchCreditCount"
}

Success Response

{
  "response": "true",
  "credits": "2500"
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "fetchCreditCount"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "fetchCreditCount"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "fetchCreditCount"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "fetchCreditCount",
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

DeductMemberCredits

POSTMethod: creditDeductMembers

Credit Deduct.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to creditDeduct
descriptionstringOptionalDescription or reason for the credit deduction

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "creditDeduct",
  "description": "Some description..."
}

Success Response

{
  "response": "true",
  "credits": "credits deduct successfully"
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "creditDeduct",
  "description": "Some description..."
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "creditDeduct",
  "description": "Some description..."
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "creditDeduct",
  "description": "Some description..."
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "creditDeduct",
  "description" => "Some description..."
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchAllOutboundCampaigns

POSTMethod: FetchAllCampaignsCampaigns

Fetch All Campaigns.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to FetchAllCampaigns

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllCampaigns"
}

Success Response

{
  "response": "true",
  "result": [
    {
      "campaign_id": "1",
      "CampaignTitle": "Sample Campaign A"
    },
    {
      "campaign_id": "2",
      "CampaignTitle": "Sample Campaign B"
    }
  ],
  "message": "There are 2 outbound campaigns"
}

Error Response

{
  "response": "false",
  "message": "No campaign found"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllCampaigns"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllCampaigns"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "FetchAllCampaigns"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "FetchAllCampaigns"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

FetchCallTranscripts

POSTMethod: FetchCallTranscriptsConversation Intelligence

Fetch Call Transcripts.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
return_formatstringOptionalResponse format. Use array for structured output.
from_datestringOptionalStart date filter (Y-m-d).
to_datestringOptionalEnd date filter (Y-m-d).
call_typestringOptionalCall direction: inbound, outbound, or empty for both.
campaignIdstringOptionalFilter by outbound campaign ID.
groupIdstringOptionalFilter by group ID.
memberIdstringOptionalFilter by agent/member ID.
min_durationintegerOptionalMinimum call duration in seconds.
max_durationintegerOptionalMaximum call duration in seconds.
search_keywordstringOptionalSearch within transcript text.
flagged_onlybooleanOptionalReturn only flagged calls when true.
recordingIdstringOptionalFetch a specific recording by its ID.
limitintegerOptionalNumber of records to return (default: 100).
offsetintegerOptionalRecords to skip for pagination (default: 0).
sort_bystringOptionalSort field: call_time (default) or duration.
sort_orderstringOptionalSort direction: DESC (default) or ASC.
summary_onlybooleanOptionalReturn only summary data without full transcript.
compress_transcriptsbooleanOptionalCompress transcript data in the response.
fieldsstringOptionalComma-separated list of fields to include in the response.
MethodstringRequiredMust be set to FetchCallTranscripts

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "return_format": "array",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "call_type": "inbound",
  "campaignId": "12345",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 30,
  "max_duration": 100,
  "search_phone": "",
  "search_keyword": "",
  "flagged_only": false,
  "recordingId": "",
  "limit": 100,
  "offset": 0,
  "cursor": 0,
  "sort_by": "call_time",
  "sort_order": "DESC",
  "summary_only": false,
  "compress_transcripts": false,
  "fields": "",
  "Method": "FetchCallTranscripts"
}

Success Response

{
  "response": "true",
  "date": "2026-05-07",
  "results": [
    {
      "leadId": "20000001",
      "lead_Name": "John Demo",
      "from_number": "+15550000001",
      "to_number": "+15550000002",
      "recording": "",
      "group": "Alpha Team",
      "caller_name": "Agent Smith",
      "call_time": "Feb 4, 2026 2:25 pm",
      "duration": "52",
      "city": "Springfield",
      "state": "IL",
      "transfer": "No",
      "recordingId": "9001001",
      "call_status": "completed",
      "call_type": "outbound",
      "speed_to_lead": 95,
      "campaignId": "50001",
      "statusId": "1001",
      "message_data": [
        "Hello, this is John Demo calling regarding your recent inquiry. Please stay on the line.",
        "Thank you for your time and have a great day."
      ],
      "message_data_raw": "{\"messages\":[{\"channel\":\"1\",\"speaker\":\"1\",\"text\":\"Hello, this is John Demo calling regarding your recent inquiry. Please stay on the line.\",\"confidence\":0.99,\"start\":0,\"end\":5000},{\"channel\":\"1\",\"speaker\":\"1\",\"text\":\"Thank you for your time and have a great day.\",\"confidence\":0.98,\"start\":5000,\"end\":10000}]}",
      "analytics_status": "completed",
      "analytics_dated": "2026-02-04 14:30:00",
      "transcript_text": "Hello, this is John Demo calling regarding your recent inquiry. Please stay on the line. Thank you for your time and have a great day."
    },
    {
      "leadId": "20000002",
      "lead_Name": "Sarah Example",
      "from_number": "+15550000003",
      "to_number": "+15550000004",
      "recording": "",
      "group": "Beta Team",
      "caller_name": "Agent Johnson",
      "call_time": "Feb 4, 2026 1:50 pm",
      "duration": "45",
      "city": "Rivertown",
      "state": "CA",
      "transfer": "Yes",
      "recordingId": "9001002",
      "call_status": "completed",
      "call_type": "inbound",
      "speed_to_lead": 140,
      "campaignId": "50002",
      "statusId": "1002",
      "message_data": [
        "Hi, Sarah Example called regarding her inquiry.",
        "Please leave a message after the beep."
      ],
      "message_data_raw": "{\"messages\":[{\"channel\":\"1\",\"speaker\":\"1\",\"text\":\"Hi, Sarah Example called regarding her inquiry.\",\"confidence\":0.97,\"start\":0,\"end\":4000},{\"channel\":\"1\",\"speaker\":\"1\",\"text\":\"Please leave a message after the beep.\",\"confidence\":0.98,\"start\":4000,\"end\":8000}]}",
      "analytics_status": "completed",
      "analytics_dated": "2026-02-04 13:55:00",
      "transcript_text": "Hi, Sarah Example called regarding her inquiry. Please leave a message after the beep."
    }
  ],
  "total_records": 6109,
  "returned_records": 2,
  "limit": 2,
  "offset": 0,
  "has_more": true,
  "next_offset": 2,
  "message": "There are 3050 inbound & 3059 outbound Call(s) (Total: 6109)",
  "inbound_count": "3050",
  "outbound_count": "3059"
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "return_format": "array",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "call_type": "inbound",
  "campaignId": "12345",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 30,
  "max_duration": 100,
  "search_phone": "",
  "search_keyword": "",
  "flagged_only": false,
  "recordingId": "",
  "limit": 100,
  "offset": 0,
  "cursor": 0,
  "sort_by": "call_time",
  "sort_order": "DESC",
  "summary_only": false,
  "compress_transcripts": false,
  "fields": "",
  "Method": "FetchCallTranscripts"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "return_format": "array",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "call_type": "inbound",
  "campaignId": "12345",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 30,
  "max_duration": 100,
  "search_phone": "",
  "search_keyword": "",
  "flagged_only": false,
  "recordingId": "",
  "limit": 100,
  "offset": 0,
  "cursor": 0,
  "sort_by": "call_time",
  "sort_order": "DESC",
  "summary_only": false,
  "compress_transcripts": false,
  "fields": "",
  "Method": "FetchCallTranscripts"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "return_format": "array",
  "from_date": "2026-05-01",
  "to_date": "2026-05-07",
  "call_type": "inbound",
  "campaignId": "12345",
  "groupId": "236",
  "memberId": "",
  "statusId": "",
  "min_duration": 30,
  "max_duration": 100,
  "search_phone": "",
  "search_keyword": "",
  "flagged_only": false,
  "recordingId": "",
  "limit": 100,
  "offset": 0,
  "cursor": 0,
  "sort_by": "call_time",
  "sort_order": "DESC",
  "summary_only": false,
  "compress_transcripts": false,
  "fields": "",
  "Method": "FetchCallTranscripts"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "return_format" => "array",
  "from_date" => "2026-05-01",
  "to_date" => "2026-05-07",
  "call_type" => "inbound",
  "campaignId" => "12345",
  "groupId" => "236",
  "memberId" => "",
  "statusId" => "",
  "min_duration" => 30,
  "max_duration" => 100,
  "search_phone" => "",
  "search_keyword" => "",
  "flagged_only" => false,
  "recordingId" => "",
  "limit" => 100,
  "offset" => 0,
  "cursor" => 0,
  "sort_by" => "call_time",
  "sort_order" => "DESC",
  "summary_only" => false,
  "compress_transcripts" => false,
  "fields" => "",
  "Method" => "FetchCallTranscripts"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

GetMemberDashboardData

POSTMethod: getMemberDashboardDataDashboard

Returns today's aggregated performance metrics for every team member. Pass an optional date parameter to retrieve historical data for a specific day.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
datestringOptionalDate in Y-m-d format. Omit to get today's data; supply a past date for historical data.
MethodstringRequiredMust be set to getMemberDashboardData

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberDashboardData"
}

Success Response

{
  "response": "true",
  "date": "2026-05-15",
  "last_updated": "May 15, 2026 12:00 PM (PST)",
  "message": "Today`s Member Dashboard Data",
  "results": [
    {
      "agentId": "1",
      "agentName": "John Doe",
      "agentEmail": "abc@example.com",
      "hours": "08h :15m :32s",
      "firstCall": "09:01 AM",
      "lastCall": "05:12 PM",
      "gapTime": "45m :12s",
      "acg": "01:02",
      "outboundCall": "250",
      "inboundCall": "20",
      "hangups": "15",
      "AOD": "320.000000",
      "AID": "315.000000",
      "talkMin": "280",
      "avgMin": "35 m",
      "answered_calls": "110",
      "ansPerHour": 14,
      "answer_rate": "44 %",
      "convos": "18",
      "cr": "16.36 %",
      "Prospects": "3",
      "ProspectsWeekly": "4",
      "Appts": "2",
      "ApptsWeekly": "3",
      "ABR": "12.50",
      "SMS": "5"
    }
  ]
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberDashboardData"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberDashboardData"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "getMemberDashboardData"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "getMemberDashboardData"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

GetDashboardMemberDatabyCampaign

POSTMethod: getDashboardMemberDatabyCampaignDashboard

Returns per-agent performance metrics filtered by outbound campaign, including disposition status breakdown. Pass an optional date to retrieve data for a specific day.

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
campaign_idintegerOptionalFilter results to a specific outbound campaign ID.
datestringOptionalDate in Y-m-d format. Defaults to today.
MethodstringRequiredMust be set to getDashboardMemberDatabyCampaign

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "campaign_id": 12345,
  "date": "2026-05-15",
  "Method": "getDashboardMemberDatabyCampaign"
}

Success Response

{
  "response": "true",
  "date": "2026-05-15",
  "results": [
    {
      "agentId": "101",
      "agentName": "Michael Jordan",
      "agentEmail": "michael.jordan@example.com",
      "outboundCall": "175",
      "AOD": "02m 50s",
      "inboundCall": "9",
      "AID": "04m 30s",
      "firstCall": "08:15 AM",
      "lastCall": "04:10 PM",
      "gapTime": "01h 20m 10s",
      "hours": "05h 10m 30s",
      "answered_calls": 72,
      "hangups": "48",
      "talkMin": "240 m",
      "avgMin": "45 m",
      "ansPerHour": 13,
      "answer_rate": "38%",
      "convos": "19",
      "cr": "26.31%",
      "Prospects": "6",
      "ProspectsWeekly": "12",
      "Appts": "4",
      "ApptsWeekly": "8",
      "ABR": "32.10",
      "dispositionStatus": [
        {"DispoTitle": "Call Back", "DispoCount": "2"},
        {"DispoTitle": "No Answer", "DispoCount": "18"},
        {"DispoTitle": "Not Interested", "DispoCount": "2"}
      ],
      "SMS": "5",
      "acg": "01:10 m"
    }
  ],
  "message": "Campaign based Member's Dashboard Data"
}

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "campaign_id": 12345,
  "date": "2026-05-15",
  "Method": "getDashboardMemberDatabyCampaign"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "campaign_id": 12345,
  "date": "2026-05-15",
  "Method": "getDashboardMemberDatabyCampaign"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "campaign_id": 12345,
  "date": "2026-05-15",
  "Method": "getDashboardMemberDatabyCampaign"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "campaign_id" => 12345,
  "date" => "2026-05-15",
  "Method" => "getDashboardMemberDatabyCampaign"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>

GetNumberHealthList

POSTMethod: GetNumberHealthListNumber Health

Returns all phone numbers with Number Health enabled on your account, including the latest spam-detection results from SpamCycle (FCC, FTC, YouMail, TrueSpam, Nomorobo, Robokiller) and DeviceChecker carrier results (Verizon, T-Mobile, Cingular, Cricket).

URL: https://app.hotprospector.com/glu/custom_api

Auth: api_uId + api_key via custom_api_model->member_authentication

ParameterTypeRequiredDescription
api_uIdintegerRequiredYour account user ID
api_keystringRequiredYour account API key
MethodstringRequiredMust be set to GetNumberHealthList
filterstringOptionalall (default) — every health-enabled number. spam_only — only numbers currently flagged as spam.
checked_sincestringOptionalISO date YYYY-MM-DD. Returns only numbers last checked on or after this date.
pageintegerOptionalPage number for pagination. Defaults to 1.
per_pageintegerOptionalResults per page. Defaults to 100, maximum 500.

Request

{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "GetNumberHealthList"
}

Success Response

[
  {
    "response": "true",
    "message": "Success",
    "pagination": {
      "page": 1,
      "per_page": 100,
      "total": 2,
      "total_pages": 1
    },
    "data": [
      {
        "phoneId": 1042,
        "phone_number": "5551234567",
        "is_spam_detected": true,
        "overall_device_spam": false,
        "spam_checks": {
          "fcc_complaint": 0,
          "ftc_complaint": 1,
          "youmail_spam": 1,
          "truespam": 0,
          "nomorobo_spam": 0,
          "robokiller_spam": 0
        },
        "carriers": {
          "verizon": {
            "title": "Verizon",
            "android_status": "Spam Risk",
            "iphone_status": "Spam Risk",
            "android_screenshot": "https://...",
            "iphone_screenshot": "https://..."
          },
          "tmobile": {
            "title": "T-Mobile",
            "android_status": "Scam Likely",
            "iphone_status": "Scam Likely",
            "android_screenshot": "https://...",
            "iphone_screenshot": "https://..."
          }
        },
        "last_checked_at": "2026-05-15 08:00:00",
        "next_billing_at": "2026-06-14 08:00:00",
        "business_profile": {
          "connected_profile": "BU39810c949c409a84a6548f506cc6d1b0",
          "brand_status": "APPROVED",
          "legal_business_name": "Acme Corp LLC",
          "business_type": "Private",
          "business_industry": "REAL_ESTATE",
          "ein": "12-3456789",
          "website_url": "https://acmecorp.com"
        }
      }
    ]
  }
]

Error Response

{
  "response": "false",
  "message": "Invalid (api_uId or api_key)"
}

Code Examples

curl -X POST https://app.hotprospector.com/glu/custom_api \
  -H "Content-Type: application/json" \
  -d '{
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "GetNumberHealthList"
}'
const response = await fetch("https://app.hotprospector.com/glu/custom_api", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "GetNumberHealthList"
})
});

console.log(await response.json());
import requests

payload = {
  "api_uId": "YOUR_API_UID",
  "api_key": "YOUR_API_KEY",
  "Method": "GetNumberHealthList"
}
response = requests.post("https://app.hotprospector.com/glu/custom_api", json=payload, timeout=30)
print(response.json())
<?php
$payload = [
  "api_uId" => "YOUR_API_UID",
  "api_key" => "YOUR_API_KEY",
  "Method" => "GetNumberHealthList"
];
$ch = curl_init("https://app.hotprospector.com/glu/custom_api");
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_HTTPHEADER => ["Content-Type: application/json"],
  CURLOPT_POSTFIELDS => json_encode($payload),
  CURLOPT_RETURNTRANSFER => true,
]);
echo curl_exec($ch);
curl_close($ch);
?>