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.
- Call
LoginUserto verify credentials. - Call
FetchAllTagsto 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"
}
]
}
]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.
Conventions
- Base URL:
https://app.hotprospector.com/glu/custom_api - HTTP method: all V1 calls are documented as
POST. - Router pattern: the
Methodbody field selects the endpoint. - Case sensitivity: use exact method and parameter casing, including legacy spellings like
AddcustomField,Un_SubscribeLead, andapi_uId. - Content type: recommended
application/json. Code also accepts form/request fields and aDatawrapper 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.
| Condition | Observed shape | Retry? | Notes |
|---|---|---|---|
| Invalid API credentials | | No | Fatal until credentials are corrected. |
| Invalid login credentials | | No | Observed in the LoginUser path. |
| Missing or inaccessible Method | | No | Controller-level legacy output; should be normalized before external launch. |
| Unavailable Method / bad route data | | No | Controller-level legacy output; not a standard JSON envelope. |
| Endpoint-specific validation failure | | No | Exact 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
Login User.
URL: https://app.hotprospector.com/glu/custom_api
Auth: credential based login
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Fetch All Tags.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Add Tag.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
TagTitle | string | Required | Title for the new tag |
Method | string | Required | Must 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
Update Tag.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
UpdateTagTitle | string | Required | New title for the tag |
TagId | string | Required | ID of the tag to update |
Method | string | Required | Must 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
Fetch All Groups.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Add Group.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
GroupTitle | string | Required | Title for the new group |
Method | string | Required | Must 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
Update Group.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
UpdateGroupTitle | string | Required | New title for the group |
GroupId | string | Required | ID of the group to update |
Method | string | Required | Must 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
Delete Group.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
GroupId | string | Required | ID of the group to delete |
Method | string | Required | Must 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
Addcustom Field.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
FieldName | string | Required | Name of the custom field to create |
FieldType | string | Required | Supported types: textbox, textarea, date, radio, select |
FieldOptions | array | Optional | Required only for radio and select field types. Array of option values. |
Method | string | Required | Must 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
Update Custom Field.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
PreviousFieldName | string | Required | Current name of the custom field |
newFieldName | string | Required | New name for the custom field |
newFieldType | string | Optional | New field type: textbox, textarea, date, radio, select |
FieldOptions | array | Optional | Required when newFieldType is radio or select |
Method | string | Required | Must 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
Check Custom Field.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
FieldName | string | Required | Name of the custom field to check |
Method | string | Required | Must 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
Delete Custom Field.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
FieldName | string | Required | Name of the custom field to delete |
Method | string | Required | Must 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
Search By User Input.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
GroupId | string | Required | Lead's Group ID. When provided without searchText, all leads in this group are returned. |
searchField | string | Required | Field to search by. Allowed: leadId, first_name, last_name, email, phone, mobile. Required if searchText is provided. |
searchText | string | Required | Value to search for. Can be empty when searching by GroupId only. |
sortBy | string | Required | Sort order: ASC or DESC. Default: ASC. |
Method | string | Required | Must 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
Search By Custom Field.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
GroupId | string | Required | Lead's Group ID. Returns all leads in group when searchText is empty. |
searchField | string | Required | Any valid custom field key (field name inside lead_custom_fields) |
searchText | string | Required | Value to search for in the specified custom field. Can be empty to fetch all leads in the group. |
sortBy | string | Required | Sort order: ASC or DESC. Default: ASC. |
Method | string | Required | Must 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
Un Subscribe Lead.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
unsubscribeBy | string | Required | Identify the lead by: leadId, email, phone, or mobile |
unsubscribeValue | string | Required | The corresponding value of the chosen unsubscribeBy field |
Method | string | Required | Must 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
Update Existing Lead.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
LeadField | string | Required | Field to update. Allowed: first_name, last_name, email, mobile, phone, city, state, zip, address, company, website, additional_Info |
LeadData | string | Required | New value for the specified field |
LeadId | string | Required | ID of the lead to update |
Method | string | Required | Must 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
Move Lead.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
moveGroupId | string | Required | ID of the destination group. All previous group assignments will be removed. |
LeadId | string | Required | ID of the lead to move |
Method | string | Required | Must 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
Copy Lead.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
copyGroupId | string | Required | ID of the group to copy the lead into |
LeadId | string | Required | ID of the lead to copy |
Method | string | Required | Must 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
Add Single Lead.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
groupId | string | Required | ID of the group to add the lead to |
email / phone / mobile | string | Required | At least one contact identifier is required |
first_name, last_name, … | string | Optional | Default fields: first_name, last_name, country_code, city, state, zip, address, company, website, additional_Info. Any other field is treated as a custom field. |
tagId | array | Optional | Array of tag IDs to assign to the lead |
Method | string | Required | Must 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
Remove Single Lead.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
groupId | string | Required | ID of the group to remove the lead from |
email / phone / mobile | string | Required | At least one field to identify the lead |
Method | string | Required | Must 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
Add Multiple Leads.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
groupId | string | Required | ID of the group to add leads to |
leads_array | array | Required | Array of lead objects. Maximum 100 leads per request. Each lead requires at least one of email, phone, or mobile. |
tagId | array | Optional | Array of tag IDs to assign to all leads in the batch |
Method | string | Required | Must 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
Fetch Lead Fields Name.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
leadId | integer | Required | The internal ID of the lead whose notes you want to fetch |
Method | string | Required | Must 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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
leadId | integer | Required | The internal ID of the lead to tag |
tagId | string | Required | Comma-separated tag IDs to assign (e.g. 5,12,18). Use FetchAllTags to look up tag IDs. |
Method | string | Required | Must 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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
leadId | integer | Required | The internal ID of the lead to untag |
tagId | string | Required | Comma-separated tag IDs to remove (e.g. 5,12). Use FetchAllTags to look up tag IDs. |
Method | string | Required | Must 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
Fetch Lead Call Logs.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
LeadId / LeadPhone / LeadEmail | string | Required | At least one of LeadId, LeadPhone, or LeadEmail must be provided |
type | string | Optional | Call type filter: inbound or outbound |
from_date | string | Optional | Start date filter (Y-m-d) |
to_date | string | Optional | End date filter (Y-m-d) |
Method | string | Required | Must 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
Fetch Lead SMSLogs.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
LeadId / LeadPhone / LeadEmail | string | Required | At least one of LeadId, LeadPhone, or LeadEmail must be provided |
from_date | string | Optional | Start date filter (Y-m-d) |
to_date | string | Optional | End date filter (Y-m-d) |
Method | string | Required | Must 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
Fetch Lead RVMLogs.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
LeadId / LeadPhone / LeadEmail | string | Required | At least one of LeadId, LeadPhone, or LeadEmail must be provided |
from_date | string | Optional | Start date filter (Y-m-d) |
to_date | string | Optional | End date filter (Y-m-d) |
Method | string | Required | Must 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
Fetch User SMSLogs.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to FetchUserSMSLogs |
from_date | string | Optional | Start date filter (Y-m-d) |
to_date | string | Optional | End date filter (Y-m-d) |
direction | string | Optional | Filter by direction: inbound (Received), outbound (Sent & Failed), or empty for all |
groupId | string | Optional | Filter by group ID |
leadId | string | Optional | Filter to a single lead ID |
status | string | Optional | Filter by SMS status: Sent, Received, or Failed |
limit | integer | Optional | Number of records to return (default: 100) |
offset | integer | Optional | Records 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
Fetch User Call Log.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to FetchUserCallLog |
from_date | string | Optional | Start date filter (Y-m-d). Max range 30 days. |
to_date | string | Optional | End date filter (Y-m-d) |
type | string | Optional | Call direction: inbound, outbound, or empty for both |
campaignId | string | Optional | Filter by outbound campaign ID |
groupId | string | Optional | Filter by group ID |
memberId | string | Optional | Filter by agent/member ID |
statusId | string | Optional | Filter by call status ID |
min_duration | integer | Optional | Minimum call duration in seconds |
max_duration | integer | Optional | Maximum call duration in seconds |
search_phone | string | Optional | Search by phone number (from or to) |
transfer_only | string | Optional | Return only transferred calls: Yes or No |
limit | integer | Optional | Number of records to return (default: 100) |
offset | integer | Optional | Records to skip for pagination (default: 0) |
sort_by | string | Optional | Sort field: call_time (default) or duration |
sort_order | string | Optional | Sort 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
Add Member User.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to addMemberUser |
first_name | string | Required | First name of the new user |
last_name | string | Required | Last name of the new user |
email | string | Required | Unique email address for the new user |
inbound_phone | string | Required | Inbound phone number |
password | string | Required | Minimum 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
Edit Member User.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to editMemberUser |
memberId | string | Required | ID of the member to update |
first_name | string | Required | First name of the member |
last_name | string | Required | Last name of the member |
email | string | Required | Email address of the member |
inbound_phone | string | Optional | Inbound phone number |
member_status | string | Optional | Status of the member: Active or Inactive |
password | string | Optional | New 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
Get Member Users.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Check Member Limit.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Delete Member User.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to deleteMemberUser |
memberId | string | Required | ID 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
Fetch Credit Count.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Credit Deduct.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to creditDeduct |
description | string | Optional | Description 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
Fetch All Campaigns.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must 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
Fetch Call Transcripts.
URL: https://app.hotprospector.com/glu/custom_api
Auth: api_uId + api_key via custom_api_model->member_authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
return_format | string | Optional | Response format. Use array for structured output. |
from_date | string | Optional | Start date filter (Y-m-d). |
to_date | string | Optional | End date filter (Y-m-d). |
call_type | string | Optional | Call direction: inbound, outbound, or empty for both. |
campaignId | string | Optional | Filter by outbound campaign ID. |
groupId | string | Optional | Filter by group ID. |
memberId | string | Optional | Filter by agent/member ID. |
min_duration | integer | Optional | Minimum call duration in seconds. |
max_duration | integer | Optional | Maximum call duration in seconds. |
search_keyword | string | Optional | Search within transcript text. |
flagged_only | boolean | Optional | Return only flagged calls when true. |
recordingId | string | Optional | Fetch a specific recording by its ID. |
limit | integer | Optional | Number of records to return (default: 100). |
offset | integer | Optional | Records to skip for pagination (default: 0). |
sort_by | string | Optional | Sort field: call_time (default) or duration. |
sort_order | string | Optional | Sort direction: DESC (default) or ASC. |
summary_only | boolean | Optional | Return only summary data without full transcript. |
compress_transcripts | boolean | Optional | Compress transcript data in the response. |
fields | string | Optional | Comma-separated list of fields to include in the response. |
Method | string | Required | Must 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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
date | string | Optional | Date in Y-m-d format. Omit to get today's data; supply a past date for historical data. |
Method | string | Required | Must 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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
campaign_id | integer | Optional | Filter results to a specific outbound campaign ID. |
date | string | Optional | Date in Y-m-d format. Defaults to today. |
Method | string | Required | Must 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
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
| Parameter | Type | Required | Description |
|---|---|---|---|
api_uId | integer | Required | Your account user ID |
api_key | string | Required | Your account API key |
Method | string | Required | Must be set to GetNumberHealthList |
filter | string | Optional | all (default) — every health-enabled number. spam_only — only numbers currently flagged as spam. |
checked_since | string | Optional | ISO date YYYY-MM-DD. Returns only numbers last checked on or after this date. |
page | integer | Optional | Page number for pagination. Defaults to 1. |
per_page | integer | Optional | Results 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);
?>