API version v1
Method reference
GET /contacts
List contacts (clients)
Scope: references:read
Authenticate with Authorization: Bearer rv_live_…; see authentication.
Request
curl "https://api.rentevio.ru/api/public/v1/contacts?search=value" \
-H "Authorization: Bearer rv_live_…"
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
search | string | no | — |
status | string | no | — |
limit | integer | no | — |
offset | integer | no | — |
Response
{
"success": true,
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"contact_type": "string",
"name": "string",
"phone": "string",
"email": "string",
"inn": "string",
"address": "string",
"discount": 0,
"tags": [
"string"
],
"comment": "string",
"status": "string",
"contact_persons": [
{}
]
}
],
"meta": {
"total": 128,
"limit": 50,
"has_more": false,
"next_cursor": "",
"page": 1,
"offset": 0
}
}
Errors
| Code | HTTP | When |
|---|---|---|
UNAUTHORIZED | 401 | Invalid, missing, revoked, or expired API key |
FORBIDDEN | 403 | The key does not have the required scope |
Was this helpful?