Update a note
Replaces the note body. The original author is kept — editing someone else’s note does not reassign it to you.
curl --request PATCH \
--url https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id} \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '
{
"note": {
"content": "Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table."
}
}
'import requests
url = "https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}"
payload = { "note": { "content": "Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table." } }
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
note: {
content: 'Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.'
}
})
};
fetch('https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["api_access_token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"note\": {\n \"content\": \"Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.\"\n }\n}"
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}"
payload := strings.NewReader("{\n \"note\": {\n \"content\": \"Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("api_access_token", "<api-key>")
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))
}{
"id": 25,
"content": "Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.",
"account_id": 1,
"contact_id": 156,
"user": {
"id": 1,
"account_id": 1,
"availability_status": "offline",
"auto_offline": true,
"confirmed": true,
"email": "you@example.com",
"provider": "email",
"available_name": "Alex Rivera",
"name": "Alex Rivera",
"role": "administrator",
"thumbnail": "/dashboard/images/default-contact-avatars/031.svg",
"avatar_url": "",
"illustration_avatar": true,
"accent_color": null,
"custom_role_id": null
},
"created_at": 1789960901,
"updated_at": 1789960901
}{
"error": "Resource could not be found"
}{
"error": "Resource could not be found"
}Authorizations
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
Path Parameters
The numeric ID of the note.
22
The numeric ID of the contact the note belongs to.
156
Body
The note to create or update.
Show child attributes
Show child attributes
Response
Success
The numeric ID of the note.
The note body. Markdown is stored verbatim and rendered by the dashboard.
The account the note belongs to.
The contact the note is attached to.
Show child attributes
Show child attributes
Creation time as a Unix epoch in seconds.
Last update time as a Unix epoch in seconds.
Was this page helpful?
curl --request PATCH \
--url https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id} \
--header 'Content-Type: application/json' \
--header 'api_access_token: <api-key>' \
--data '
{
"note": {
"content": "Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table."
}
}
'import requests
url = "https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}"
payload = { "note": { "content": "Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table." } }
headers = {
"api_access_token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {api_access_token: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
note: {
content: 'Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.'
}
})
};
fetch('https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["api_access_token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"note\": {\n \"content\": \"Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.\"\n }\n}"
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.tied.com/api/v1/accounts/{account_id}/contacts/{contact_id}/notes/{id}"
payload := strings.NewReader("{\n \"note\": {\n \"content\": \"Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("api_access_token", "<api-key>")
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))
}{
"id": 25,
"content": "Asked for the API reference link after the onboarding call. Sent, plus the webhook signature page and the rate-limit table.",
"account_id": 1,
"contact_id": 156,
"user": {
"id": 1,
"account_id": 1,
"availability_status": "offline",
"auto_offline": true,
"confirmed": true,
"email": "you@example.com",
"provider": "email",
"available_name": "Alex Rivera",
"name": "Alex Rivera",
"role": "administrator",
"thumbnail": "/dashboard/images/default-contact-avatars/031.svg",
"avatar_url": "",
"illustration_avatar": true,
"accent_color": null,
"custom_role_id": null
},
"created_at": 1789960901,
"updated_at": 1789960901
}{
"error": "Resource could not be found"
}{
"error": "Resource could not be found"
}