propertly.io
DokumentacjaAPILista zmian

Get agent details by ID

GET
/api/v1/agents/{agent_id}

Retrieves details about a specific agent by their unique identifier

Authorization

APIKeyHeader
headerAuthorization<token>

Path Parameters

agent_id*Agent Id
Formatuuid

Response Body

Successful response with agent details

application/json
  1. response

DTO for agent details

agent_id*Agent Id

Unique identifier for the agent

Formatuuid
webpage_id*Webpage Id

Associated webpage identifier

Formatuuid
organization_id*Organization Id

Organization this agent belongs to

Formatuuid
branch_id?|

Branch this agent belongs to (if any)

email?|

Contact email address

phone_number?|

Contact phone number

first_name?|

Agent's first name

last_name?|

Agent's last name

avatar_url?|

URL to agent's avatar image

job_title?|

Agent's job title or position

description?|

Detailed description or bio

cover_image_url?|

URL to cover image

profile_image_url?|

URL to profile image

curl -X GET 'https://headless-cms.propertly.io/api/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "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