V2/Offices
Get offices
Returns a list of offices available on the platform. Supports JSON and XML response formats.
Query Parameters
api_keystring
API key for authentication
Header Parameters
Acceptstring
Expected response format: application/json or application/xml
Response Body
curl -X GET "https://pb.powerbroker.mx/v2/offices?api_key=string" \ -H "Accept: string"{
"offices": [
{
"id": 0,
"code": "string",
"name": "string",
"phone": "string",
"email": "string",
"address": {
"neighborhood": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"address1": "string",
"address2": "string",
"fullAddress": "string"
},
"contact": {
"phone": "string",
"email": "string"
},
"active": 0
}
]
}Empty
Empty