https://{{crm_server}}/server/API/v2/collections/massiveCollections.php
This API allows the bulk insertion of records into the Collections module of wolkvox CRM, including case files and their respective obligations. A case file represents a customer’s information, while obligations are the payment commitments associated with that customer.
This API is designed to facilitate the structured and efficient loading and updating of large volumes of data.
The API URL includes a placeholder {{crm_server}}, which must be replaced with the specific server where the customer’s operation is hosted.
Available servers
How to determine your CRM servers?
Important notice: URL path update
Starting September 1, 2024, new URLs will be implemented to access the wolkvox CRM platform. The current URLs will coexist with the new ones until November 30, 2024, when they will be deactivated.
Nuevas URLs:
From “https://sv0001.crmvox.com” to “https://crm0001.wolkvox.com“
From “https://sv0000.crmvox.com” to “https://crm0000.wolkvox.com“
Please ensure you update your integrations and automations before November 30, 2024, to avoid service disruptions.
KEY | DESCRIPTION | EXAMPLE |
---|---|---|
Wolkvox-Token | Token configured for the client on the CRM page. | A8K3J7F2 |
operation | Name of the CRM operation. | “operation”: “moduletest03” |
collections | List of client records (debts) to insert with their respective obligations. | |
Identification | Unique identification of the client. This field is mandatory. | “Identification”: “12345” |
Name | Client’s name. This field is mandatory. | “Name”: “John Doe” |
Email | Client’s email address. This field is mandatory. | “Email”: “john.doe@wolkvox.com” |
Telephone | Client’s phone number. This field is mandatory. | “Telephone”: “31949” |
Address | Client’s address. | “Address”:”John Doe, 1234 Elm Street, Apt. 5B, Los Angeles, CA 90001, United States” |
custom_field | Custom fields can be included in the Collections module. | “custom_field”:”value” |
id | Unique identification of the obligation. This field is mandatory. | “id”: “02” |
name | Name of the obligation. This field is mandatory. | “name”: “oblg2” |
total_balance | Total balance of the obligation. | “total_balance”: “1000” |
expiring_date | Expiration date (YYYY-MM-DD). | “expiring_date”: “2025-02-03” |
days_delay | Days overdue. | “days_delay”: “33” |
portfolio_type | Type of portfolio to which the obligation belongs. | “portfolio_type”:”TestPortfolio” |
last_pay | Last payment made. | “last_pay”:”500″ |
last_pay_date | Date of the last payment (YYYY-MM-DD). | “last_pay_date”:”2025-01-09″ |
balance_payment | Outstanding balance of the payment. | “balance_payment”:”500″ |
obligation_custom_field | Custom fields can be included in the Obligations module. | “obligation_custom_field”:”value” |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://{{crm_server}}/server/API/v2/collections/massiveCollections.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"operation": "",
"collections": [
{
"Identification": "",
"Name": "",
"Email": "",
"Telephone": "",
"Address": "",
"Obligations": [
{
"id": "",
"name": "",
"total_balance": "",
"expiring_date": "",
"days_delay": "",
"portfolio_type": "",
"last_pay": "",
"last_pay_date": "",
"balance_payment": ""
}
]
},
{
"Identification": "",
"Name": "",
"Email": "",
"Telephone": "",
"Address": "",
"Obligations": [
{
"id": "",
"name": "",
"total_balance": "",
"expiring_date": "",
"days_delay": "",
"portfolio_type": "",
"last_pay": "",
"last_pay_date": "",
"balance_payment": ""
}
]
}
]
}',
CURLOPT_HTTPHEADER => array(
'Wolkvox-Token: {{Wolkvox-Token}}'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
curl --location --globoff 'https://{{crm_server}}/server/API/v2/collections/massiveCollections.php' \
--header 'Wolkvox-Token: {{Wolkvox-Token}}' \
--data '{
"operation": "",
"collections": [
{
"Identification": "",
"Name": "",
"Email": "",
"Telephone": "",
"Address": "",
"Obligations": [
{
"id": "",
"name": "",
"total_balance": "",
"expiring_date": "",
"days_delay": "",
"portfolio_type": "",
"last_pay": "",
"last_pay_date": "",
"balance_payment": ""
}
]
},
{
"Identification": "",
"Name": "",
"Email": "",
"Telephone": "",
"Address": "",
"Obligations": [
{
"id": "",
"name": "",
"total_balance": "",
"expiring_date": "",
"days_delay": "",
"portfolio_type": "",
"last_pay": "",
"last_pay_date": "",
"balance_payment": ""
}
]
}
]
}'
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "{\r\n \"operation\": \"\",\r\n \"collections\": [\r\n {\r\n \"Identification\": \"\",\r\n \"Name\": \"\",\r\n \"Email\": \"\",\r\n \"Telephone\": \"\",\r\n \"Address\": \"\",\r\n \"Obligations\": [\r\n {\r\n \"id\": \"\",\r\n \"name\": \"\",\r\n \"total_balance\": \"\",\r\n \"expiring_date\": \"\",\r\n \"days_delay\": \"\",\r\n \"portfolio_type\": \"\",\r\n \"last_pay\": \"\",\r\n \"last_pay_date\": \"\",\r\n \"balance_payment\": \"\"\r\n }\r\n ]\r\n },\r\n {\r\n \"Identification\": \"\",\r\n \"Name\": \"\",\r\n \"Email\": \"\",\r\n \"Telephone\": \"\",\r\n \"Address\": \"\",\r\n \"Obligations\": [\r\n {\r\n \"id\": \"\",\r\n \"name\": \"\",\r\n \"total_balance\": \"\",\r\n \"expiring_date\": \"\",\r\n \"days_delay\": \"\",\r\n \"portfolio_type\": \"\",\r\n \"last_pay\": \"\",\r\n \"last_pay_date\": \"\",\r\n \"balance_payment\": \"\"\r\n }\r\n ]\r\n }\r\n ]\r\n}");
Request request = new Request.Builder()
.url("https://{{crm_server}}/server/API/v2/collections/massiveCollections.php")
.method("POST", body)
.addHeader("Wolkvox-Token", "{{Wolkvox-Token}}")
.build();
Response response = client.newCall(request).execute();
import requests
url = "https://{{crm_server}}/server/API/v2/collections/massiveCollections.php"
payload = "{\r\n \"operation\": \"\",\r\n \"collections\": [\r\n {\r\n \"Identification\": \"\",\r\n \"Name\": \"\",\r\n \"Email\": \"\",\r\n \"Telephone\": \"\",\r\n \"Address\": \"\",\r\n \"Obligations\": [\r\n {\r\n \"id\": \"\",\r\n \"name\": \"\",\r\n \"total_balance\": \"\",\r\n \"expiring_date\": \"\",\r\n \"days_delay\": \"\",\r\n \"portfolio_type\": \"\",\r\n \"last_pay\": \"\",\r\n \"last_pay_date\": \"\",\r\n \"balance_payment\": \"\"\r\n }\r\n ]\r\n },\r\n {\r\n \"Identification\": \"\",\r\n \"Name\": \"\",\r\n \"Email\": \"\",\r\n \"Telephone\": \"\",\r\n \"Address\": \"\",\r\n \"Obligations\": [\r\n {\r\n \"id\": \"\",\r\n \"name\": \"\",\r\n \"total_balance\": \"\",\r\n \"expiring_date\": \"\",\r\n \"days_delay\": \"\",\r\n \"portfolio_type\": \"\",\r\n \"last_pay\": \"\",\r\n \"last_pay_date\": \"\",\r\n \"balance_payment\": \"\"\r\n }\r\n ]\r\n }\r\n ]\r\n}"
headers = {
'Wolkvox-Token': '{{Wolkvox-Token}}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
KEY | DESCRIPTION | TYPE |
---|---|---|
code | Indicates the response status code. | String |
success | true if the operation was successful, false if there were errors. | Boolean |
total_records_received | Total number of records received in the request. | Integer |
successful_inserts | Number of records successfully inserted. | Integer |
failed_count | Identification of the case prefix. | Integer |
total_processed | Total number of processed records. | Integer |
failed_Sumary | Details of the failed records, in case of errors. | Array |
{
"code": "200",
"success": true,
"summary": {
"total_records_received": ,
"successful_inserts": ,
"failed_count": ,
"total_processed": ,
"failed_Sumary": []
}
}
Medellín +57 (604) 322 98 80
Bogotá +57 (601) 381 90 40
Cali +57 (602) 891 28 46
Barranquilla +57 (605) 316 10 34
Goiânia +55 (62) 99328 6605
Santiago de Chile +56 (2) 240 533 89
Atlanta +1 (678) 496 7474
Ciudad de Guatemala +502 (2) 314 1344
Ciudad de México +52 (55) 8526 36 34
Copyright © 2022 MICROSYSLABS S.A.S. Cra 30 # 4A-45 Of. 205 Ed. FOREVER W&L, Medellín, Colombia
COLOMBIA
Medellín +57 (4) 322 98 80
Bogotá +57 (1) 381 90 40
Cali +57 (2) 891 28 46
Barranquilla +57 (5) 316 10 34
ARGENTINA
Buenos Aires +54 (11) 5217 5933
SPAIN
Madrid +34 (910) 601 691
MEXICO
Ciudad de México +52 (55) 8526 36 34
BRASIL
Brasilia +55 (61) 9836 4127
São Paulo +55 (12) 9811 155 83
UNITED STATES
New York +1 (914) 373 71 36
DOMINICAN REPUBLIC
Santo Domingo +1 (829) 249 69 68
CHILE
Santiago de Chile +56 (2) 240 533 89
GUATEMALA
Ciudad de Guatemala +502 (2) 314 1344
PERU
Lima +51 (1) 644 91 39
Copyright © 2022 MICROSYSLABS S.A.S.
Cra 30 # 4A – 45 Of. 205 Ed. FOREVER W&L, Medellín, Colombia