Logo
Openapi.it Public API Documentation

{{baseUrl}}/requests/:id

GET {{baseUrl}}/requests/:id

Endpoint that returns the request marked by the identifier passed in the path

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": { "documentId": "6687eed51a241a5d1be0f9fa", "search": { "field0": "12485671007" }, "callback": { "url": "https://webhook.site/f24cec85-22e3-4f7c-8ec0-227b240daa42", "field": "data", "method": "POST", "headers": { "test_header": "some_string" }, "data": {} }, "timestamps": { "creation": 1724416377, "WAIT": 1724416377, "lastUpdate": 1724416393 }, "state": "WAIT", "readableSearch": { "taxCode": "12485671007" }, "optionsPrice": 0, "selectedOptions": null, "notifyEmail": null, "name": "Statuto", "hasSearch": false, "searchPrice": 0, "documentPrice": 4.9, "totalPrice": 4.9, "documents": null, "resultId": null, "results": null, "id": "66c881896de559cb65055392" }, "success": true, "message": "", "error": null }



Curl
curl -X GET 'baseUrl/requests/:id' -H 'Accept: application/json'

ENDPOINTS