curl --request GET \
--url https://app.marro.si/api/v1/leads \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.marro.si/api/v1/leads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.marro.si/api/v1/leads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://app.marro.si/api/v1/leads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": 1842,
"name": "Priya Sharma",
"phone": "+919812345678",
"email": "priya@example.com",
"stageId": 7,
"pipelineId": 2,
"sourceId": 3,
"assignedTo": 21,
"stage": {
"id": 7,
"name": "Follow Up",
"meaning": "open"
},
"pipeline": {
"id": 2,
"name": "Main pipeline"
},
"source": {
"id": 3,
"name": "Website"
},
"owner": {
"id": 21,
"name": "Ravi Kumar"
},
"branchId": 4,
"branch": {
"id": 4,
"name": "Hyderabad",
"code": "HYD"
},
"fields": {
"city": "Hyderabad",
"interest": "Premium plan",
"preferred_time": "evening"
},
"createdAt": "2026-09-20T04:45:00Z",
"updatedAt": "2026-09-24T03:32:11Z"
}
],
"nextCursor": 1841
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}List leads
Leads in the organization, newest first, a page at a time. Filter by stage, source, owner, branch, time of last change, or any field. Archived leads are left out.
Scope: leads.read.
curl --request GET \
--url https://app.marro.si/api/v1/leads \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.marro.si/api/v1/leads', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.marro.si/api/v1/leads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://app.marro.si/api/v1/leads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": 1842,
"name": "Priya Sharma",
"phone": "+919812345678",
"email": "priya@example.com",
"stageId": 7,
"pipelineId": 2,
"sourceId": 3,
"assignedTo": 21,
"stage": {
"id": 7,
"name": "Follow Up",
"meaning": "open"
},
"pipeline": {
"id": 2,
"name": "Main pipeline"
},
"source": {
"id": 3,
"name": "Website"
},
"owner": {
"id": 21,
"name": "Ravi Kumar"
},
"branchId": 4,
"branch": {
"id": 4,
"name": "Hyderabad",
"code": "HYD"
},
"fields": {
"city": "Hyderabad",
"interest": "Premium plan",
"preferred_time": "evening"
},
"createdAt": "2026-09-20T04:45:00Z",
"updatedAt": "2026-09-24T03:32:11Z"
}
],
"nextCursor": 1841
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Authorizations
An organization API key, created in Settings → Integrations → API keys. Keys start with mk_live_. Marro stores only a hash of a key, so it is shown once, when it is created: copy it then. Revoking a key ends its access at once. To replace a key without downtime, create the new one, switch your server to it, then revoke the old one. Changes made with a key appear on the lead’s timeline as made by the person who created the key, via the API. Scopes: objects.records.read (Read custom objects), objects.records.write (Create and update custom-object records), objects.records.delete (Delete custom-object records), leads.read (Read leads), leads.write (Create and update leads), leads.capture (Capture leads), crm.records.read (Read customers and opportunities), crm.records.write (Create and update customers and opportunities), reports.read (Read reports), money.read (Read products, quotes, invoices and payments), money.write (Create quotes and invoices and record payments), agent.tools (AI agent tools (MCP)).
Query Parameters
Only leads changed at or after this time, for syncing.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$