Website

Get all user adverts

Last update: 11.12.2023

GET: https://www.autovit.ro/api/open/account/adverts

Permission: read

Header

Field Type Description
User-Agent string Account email.

Parameter

Field Type Description
page Number Optional parameter. Allows requesting specific page results
limit Number Optional parameter. Allows limitation results for one request
Request example:
		HTTP/1.1 GET /account/adverts?limit=10&page=1

User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN			
		
Copied to clipboard
Success response:
		HTTP/1.1 200 OK
{
    "results":
    [
        {
            "id": 6001358299,
            "user_id": 1289250,
            "status": "new",
...
        },
        {
            "id": 6001358301,
            "user_id": 1289250,
            "status": "active",
...
        }
    ],
    "is_last_page": true,
    "is_first_page": true,
    "current_page": 1,
    "total_pages": 1,
    "current_elements": 2,
    "total_elements": 2
}			
		
Copied to clipboard