Write custom column values (keyed by contact id)
curl --request PATCH \
--url https://api.tryfuse.ai/api/v1/business/lists/{listId}/columns/{columnId}/values \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"values": [
{
"contactId": "<string>",
"value": "<string>"
}
]
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/lists/{listId}/columns/{columnId}/values"
payload = { "values": [
{
"contactId": "<string>",
"value": "<string>"
}
] }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({values: [{contactId: '<string>', value: '<string>'}]})
};
fetch('https://api.tryfuse.ai/api/v1/business/lists/{listId}/columns/{columnId}/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"updatedCount": 2
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Custom columns
Write custom column values (keyed by contact id)
Requires one of the following token scopes: lists.
PATCH
/
business
/
lists
/
{listId}
/
columns
/
{columnId}
/
values
Write custom column values (keyed by contact id)
curl --request PATCH \
--url https://api.tryfuse.ai/api/v1/business/lists/{listId}/columns/{columnId}/values \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"values": [
{
"contactId": "<string>",
"value": "<string>"
}
]
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/lists/{listId}/columns/{columnId}/values"
payload = { "values": [
{
"contactId": "<string>",
"value": "<string>"
}
] }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({values: [{contactId: '<string>', value: '<string>'}]})
};
fetch('https://api.tryfuse.ai/api/v1/business/lists/{listId}/columns/{columnId}/values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"updatedCount": 2
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Your API token (af_…) as the Basic-auth username, with an empty password.
Body
application/json
Required array length:
1 - 500 elementsShow child attributes
Show child attributes
Response
Success
The response is of type object.
⌘I