POST
/
funnels
/
domain
/
xml-sitemap
cURL
curl --request POST \
--url https://services.leadconnectorhq.com/funnels/domain/xml-sitemap \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"locationId": "<string>",
"domainId": "<string>",
"mapping": [
"<string>"
],
"custom": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
locationId: '<string>',
domainId: '<string>',
mapping: ['<string>'],
custom: ['<string>']
})
};
fetch('https://services.leadconnectorhq.com/funnels/domain/xml-sitemap', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/funnels/domain/xml-sitemap"
payload = {
"locationId": "<string>",
"domainId": "<string>",
"mapping": ["<string>"],
"custom": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Last modified on May 19, 2026
Was this page helpful?
cURL
curl --request POST \
--url https://services.leadconnectorhq.com/funnels/domain/xml-sitemap \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"locationId": "<string>",
"domainId": "<string>",
"mapping": [
"<string>"
],
"custom": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
locationId: '<string>',
domainId: '<string>',
mapping: ['<string>'],
custom: ['<string>']
})
};
fetch('https://services.leadconnectorhq.com/funnels/domain/xml-sitemap', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/funnels/domain/xml-sitemap"
payload = {
"locationId": "<string>",
"domainId": "<string>",
"mapping": ["<string>"],
"custom": ["<string>"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)