curl --location --request GET '/admin/companies' \
--header 'Authorization: {{Authorization}}'{
"responseMessage": [
"Companies fetched successfully"
],
"responseCode": 200,
"responseData": {
"companies": [
{
"_id": "66e2f9eb95895a1b8cb252ec",
"name": "MyCompany",
"email": "MyCompany@gmail.com",
"address": "lahore, pakistan",
"phone": "123456",
"createdAt": "2024-09-12T14:25:47.167Z",
"updatedAt": "2024-09-12T14:25:47.167Z",
"__v": 0
}
]
}
}