Creates a report and fetches the data in the background
Security
publicKey
- Near Me Check API Serverhttps://near-me-check.uberall.com/api/report
- Mock Serverhttps://docs.uberall.com/_mock/apis/swagger/report
const resp = await fetch(
`https://near-me-check.uberall.com/api/report`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
publicKey: 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
categoryId: '213',
country: 'DE',
name: 'Uberall',
streetAndNo: 'Hussitenstraße 32-33',
zip: '13355',
city: 'Berlin',
phone: '030 208479320'
})
}
);
const data = await resp.json();
console.log(data);Response
{ "id": 1, "token": "Qxcymb4T4Sr51hOz", "location": { "alreadyManaged": true, "name": "Uberall", "categoryId": 213, "address": { … } }, "dateCreated": "2023-04-25T13:33:04.093+00:00", "statuses": { "locationAccuracyStatus": "IN_PROGRESS", "listingsDetailsStatus": "IN_PROGRESS" }, "uncheckedDirectories": [] }