cURL
curl --request GET \ --url https://api.example.com/api/companies/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": 123, "user_id": 123, "name": "<string>", "email": "<string>", "latitude": 123, "longitude": 123 } }
Enter your JWT token in the format 'Bearer '
Company ID
Company fetched successfully
Show child attributes