Batch Records
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/batch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"records": [
{
"values": {},
"links": {}
}
],
"match_attribute": "<string>"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/batch"
payload = {
"records": [
{
"values": {},
"links": {}
}
],
"match_attribute": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({records: [{values: {}, links: {}}], match_attribute: '<string>'})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));CRM objects
Batch Records
Create up to 500 records, or upsert them with match_attribute. Each record succeeds or fails on its
own; the response reports every row.
POST
/
api
/
v1
/
crm
/
objects
/
{type_key}
/
records
/
batch
Batch Records
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/batch \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"records": [
{
"values": {},
"links": {}
}
],
"match_attribute": "<string>"
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/batch"
payload = {
"records": [
{
"values": {},
"links": {}
}
],
"match_attribute": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({records: [{values: {}, links: {}}], match_attribute: '<string>'})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/crm/objects/{type_key}/records/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));