Upload an agent profile photo
curl --request POST \
--url https://api.windermere.com/v2/api/agents/{id}/image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataUrl": "<string>"
}
'import requests
url = "https://api.windermere.com/v2/api/agents/{id}/image"
payload = { "dataUrl": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dataUrl: '<string>'})
};
fetch('https://api.windermere.com/v2/api/agents/{id}/image', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.windermere.com/v2/api/agents/{id}/image",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.windermere.com/v2/api/agents/{id}/image"
payload := strings.NewReader("{\n \"dataUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.windermere.com/v2/api/agents/{id}/image")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.windermere.com/v2/api/agents/{id}/image")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentUuid": "<string>",
"sourceAgentId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"displayName": "<string>",
"externalPartnerIds": [
{
"partnerName": "<string>",
"partnerId": "<string>"
}
],
"primaryOfficeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primaryEmailAddress": "<string>",
"signInUpn": "<string>",
"secondaryEmailAddress": "<string>",
"leadRoutingEmailAddress": "<string>",
"emailAddresses": {
"primary": "<string>",
"display": "<string>",
"alternate": "<string>",
"moxiSync": "<string>",
"zillow": "<string>",
"leadRouting": "<string>"
},
"emailAliases": [
"<string>"
],
"mainPhoneNumber": "<string>",
"mobilePhoneNumber": "<string>",
"altPhoneNumber": "<string>",
"faxPhoneNumber": "<string>",
"mlsAgentId": "<string>",
"license": "<string>",
"licenseState": "<string>",
"mlsName": "<string>",
"mlsAbbreviation": "<string>",
"availableMls": [
{
"name": "<string>",
"displayName": "<string>",
"mlsAbbreviation": "<string>",
"agentId": "<string>"
}
],
"licenseStartDate": "<string>",
"licenseRenewalDate": "<string>",
"title": "<string>",
"designations": "<string>",
"bio": "<string>",
"languages": [
"<string>"
],
"serviceAreaZipCodes": [
"<string>"
],
"areasOfService": "<string>",
"profileImageUrl": "<string>",
"profileThumbUrl": "<string>",
"profileImageUrls": {},
"social": {},
"homePage": "<string>",
"websiteBaseUrl": "<string>",
"permissionLevel": "<string>",
"viewLevel": "<string>",
"role": "<string>",
"hasProductAccess": true,
"productAccess": {},
"profileVisibleOnline": true,
"includeInApi": true,
"tags": [
"<string>"
],
"directoryCategory": "<string>",
"region": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"deactivatedAt": "2023-11-07T05:31:56Z",
"tosAcceptedAt": "2023-11-07T05:31:56Z",
"officeWoboOptOut": true,
"officeWoboOptedOutAt": "2023-11-07T05:31:56Z",
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"reactivationHistory": [
{
"reactivatedAt": 123,
"deactivatedAt": 123,
"reactivatedBy": "<string>"
}
],
"companyId": "<string>",
"facebookAccountId": "<string>",
"alternateInternalOfficeId": "<string>",
"primaryOffice": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>"
},
"secondaryOffices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>",
"displayInDirectory": true
}
],
"brokerage": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"changeLogSummary": [
{
"changedAt": "<string>",
"actorId": "<string>",
"fieldPath": "<string>",
"oldValue": "<unknown>",
"newValue": "<unknown>"
}
],
"emergencyContactName": "<string>",
"emergencyContactPhone": "<string>",
"dietaryRestrictions": "<string>",
"childrenAndPets": "<string>",
"birthday": "<string>",
"namePronunciation": "<string>",
"hireDate": "<string>",
"importantDates": [
{
"label": "<string>",
"date": "<string>"
}
],
"archetype": {
"confidence": "HIGH",
"managerFit": "FITS",
"assessedAt": "2023-11-07T05:31:56Z",
"name": null,
"businessApproach": null,
"goalOrientation": null,
"techReadiness": null,
"assessedByAgentId": null,
"source": null,
"recordId": null,
"questionnaireVersion": null,
"scoringVersion": null
},
"priorBrokerage": "<string>",
"agentSubscriptions": [
"<string>"
],
"internalNotes": "<string>",
"notificationPreferences": {
"newLeads": true,
"showingRequests": true,
"channel": "email"
},
"smsConsent": {
"windermere": {
"granted": true,
"at": "2023-11-07T05:31:56Z",
"textVersion": "<string>"
},
"brokerage": {
"granted": true,
"at": "2023-11-07T05:31:56Z",
"textVersion": "<string>"
}
},
"teams": [
{
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"role": "<string>",
"memberCount": 1
}
],
"delegateAccess": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "active",
"via": {
"grant": {
"grantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
],
"officeWoboAccessors": [
{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"permissionLevel": "<string>",
"bucket": "staff",
"via": "primary",
"office": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
}
]
}agents
Upload an agent profile photo
Accepts a base64 data URL (data:<mime>;base64,<...>) and stores it in Azure Blob Storage, stamping the resulting public URL onto the agent’s profileImageUrl. Accepts image/png, image/jpeg, image/webp up to 5 MB. To remove a photo, PATCH the agent with profileImageUrl: null (no separate delete endpoint). Returns 501 BLOB_STORAGE_NOT_CONFIGURED when storage is not configured. Mirrors POST /offices/{id}/image.
POST
/
agents
/
{id}
/
image
Upload an agent profile photo
curl --request POST \
--url https://api.windermere.com/v2/api/agents/{id}/image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataUrl": "<string>"
}
'import requests
url = "https://api.windermere.com/v2/api/agents/{id}/image"
payload = { "dataUrl": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dataUrl: '<string>'})
};
fetch('https://api.windermere.com/v2/api/agents/{id}/image', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.windermere.com/v2/api/agents/{id}/image",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.windermere.com/v2/api/agents/{id}/image"
payload := strings.NewReader("{\n \"dataUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.windermere.com/v2/api/agents/{id}/image")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.windermere.com/v2/api/agents/{id}/image")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentUuid": "<string>",
"sourceAgentId": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"displayName": "<string>",
"externalPartnerIds": [
{
"partnerName": "<string>",
"partnerId": "<string>"
}
],
"primaryOfficeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"primaryEmailAddress": "<string>",
"signInUpn": "<string>",
"secondaryEmailAddress": "<string>",
"leadRoutingEmailAddress": "<string>",
"emailAddresses": {
"primary": "<string>",
"display": "<string>",
"alternate": "<string>",
"moxiSync": "<string>",
"zillow": "<string>",
"leadRouting": "<string>"
},
"emailAliases": [
"<string>"
],
"mainPhoneNumber": "<string>",
"mobilePhoneNumber": "<string>",
"altPhoneNumber": "<string>",
"faxPhoneNumber": "<string>",
"mlsAgentId": "<string>",
"license": "<string>",
"licenseState": "<string>",
"mlsName": "<string>",
"mlsAbbreviation": "<string>",
"availableMls": [
{
"name": "<string>",
"displayName": "<string>",
"mlsAbbreviation": "<string>",
"agentId": "<string>"
}
],
"licenseStartDate": "<string>",
"licenseRenewalDate": "<string>",
"title": "<string>",
"designations": "<string>",
"bio": "<string>",
"languages": [
"<string>"
],
"serviceAreaZipCodes": [
"<string>"
],
"areasOfService": "<string>",
"profileImageUrl": "<string>",
"profileThumbUrl": "<string>",
"profileImageUrls": {},
"social": {},
"homePage": "<string>",
"websiteBaseUrl": "<string>",
"permissionLevel": "<string>",
"viewLevel": "<string>",
"role": "<string>",
"hasProductAccess": true,
"productAccess": {},
"profileVisibleOnline": true,
"includeInApi": true,
"tags": [
"<string>"
],
"directoryCategory": "<string>",
"region": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"deactivatedAt": "2023-11-07T05:31:56Z",
"tosAcceptedAt": "2023-11-07T05:31:56Z",
"officeWoboOptOut": true,
"officeWoboOptedOutAt": "2023-11-07T05:31:56Z",
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"reactivationHistory": [
{
"reactivatedAt": 123,
"deactivatedAt": 123,
"reactivatedBy": "<string>"
}
],
"companyId": "<string>",
"facebookAccountId": "<string>",
"alternateInternalOfficeId": "<string>",
"primaryOffice": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>"
},
"secondaryOffices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"commonName": "<string>",
"displayInDirectory": true
}
],
"brokerage": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"changeLogSummary": [
{
"changedAt": "<string>",
"actorId": "<string>",
"fieldPath": "<string>",
"oldValue": "<unknown>",
"newValue": "<unknown>"
}
],
"emergencyContactName": "<string>",
"emergencyContactPhone": "<string>",
"dietaryRestrictions": "<string>",
"childrenAndPets": "<string>",
"birthday": "<string>",
"namePronunciation": "<string>",
"hireDate": "<string>",
"importantDates": [
{
"label": "<string>",
"date": "<string>"
}
],
"archetype": {
"confidence": "HIGH",
"managerFit": "FITS",
"assessedAt": "2023-11-07T05:31:56Z",
"name": null,
"businessApproach": null,
"goalOrientation": null,
"techReadiness": null,
"assessedByAgentId": null,
"source": null,
"recordId": null,
"questionnaireVersion": null,
"scoringVersion": null
},
"priorBrokerage": "<string>",
"agentSubscriptions": [
"<string>"
],
"internalNotes": "<string>",
"notificationPreferences": {
"newLeads": true,
"showingRequests": true,
"channel": "email"
},
"smsConsent": {
"windermere": {
"granted": true,
"at": "2023-11-07T05:31:56Z",
"textVersion": "<string>"
},
"brokerage": {
"granted": true,
"at": "2023-11-07T05:31:56Z",
"textVersion": "<string>"
}
},
"teams": [
{
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"role": "<string>",
"memberCount": 1
}
],
"delegateAccess": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "active",
"via": {
"grant": {
"grantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
}
],
"officeWoboAccessors": [
{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"email": "<string>",
"permissionLevel": "<string>",
"bucket": "staff",
"via": "primary",
"office": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
}
]
}Authorizations
Response
200 - application/json
Default Response

