propertly.io
DokumentacjaAPILista zmian

Get agents by branch

GET
/api/v1/branches/{branch_id}/agents

Retrieves a list of agents associated with a specific branch

Authorization

APIKeyHeader
headerAuthorization<token>

Path Parameters

branch_id*Branch Id
Formatuuid

Response Body

Successful response with list of agents

application/json
  1. response
[index: integer]?

DTO for agent details

curl -X GET 'https://headless-cms.propertly.io/api/v1/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08/agents'
[  {    "agent_id": "b5e8f267-d6ef-4ab1-b4f0-d9d3046a8e16",    "webpage_id": "a2f6c08c-8dd7-4b11-a2e7-4c3182d28aac",    "organization_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",    "branch_id": "c33b31ae-747a-4366-ae86-5f399e2daa5e",    "email": "jan.kowalski@propertly.pl",    "phone_number": "+48 123 456 789",    "first_name": "Jan",    "last_name": "Kowalski",    "avatar_url": "https://cdn.propertly.io/app/user-avatars/8ddd9ec8-5832-41cc-8f1d-98b743279d03/avatar-bb286353-999f-4843-b33f-ed45d18049e7.jpg",    "job_title": "Agent nieruchomości",    "description": "Specjalista z 10-letnim doświadczeniem na rynku nieruchomości w Warszawie.",    "cover_image_url": "https://cdn.propertly.io/app/user-avatars/8ddd9ec8-5832-41cc-8f1d-98b743279d03/avatar-bb286353-999f-4843-b33f-ed45d18049e7.jpg",    "profile_image_url": "https://cdn.propertly.io/app/user-avatars/8ddd9ec8-5832-41cc-8f1d-98b743279d03/avatar-bb286353-999f-4843-b33f-ed45d18049e7.jpg"  }]

Ostatnia aktualizacja