cURL
curl --request GET \ --url https://api.example.com/api/companies \ --header 'Authorization: Bearer <token>'
[ { "id": 123, "user_id": 123, "name": "<string>", "email": "<string>", "latitude": 123, "longitude": 123 } ]
Enter your JWT token in the format 'Bearer '
Returns all companies