Create a note
curl --request POST \
--url https://api.attio.com/v2/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"parent_object": "people",
"parent_record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d",
"title": "Initial Prospecting Call Summary",
"format": "markdown",
"content": "# Meeting Recap: Q4 Planning\n\n**Date:** 2023-10-26\n**Attendees:** Alex, Jamie, Casey\n\n## Key Discussion Points\n\n- Reviewed Q3 performance metrics.\n- Brainstormed key initiatives for Q4.\n- Discussed budget allocation for ==Project Phoenix==.\n\n## Action Items\n\n1. Alex to finalize Q4 roadmap by EOD Friday.\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\n\n*Next steps: Review draft roadmap next week.*",
"created_at": "2023-01-01T15:00:00.000000000Z",
"meeting_id": "14beef7a-99f7-4534-a87e-70b564330a4c"
}
}
'import requests
url = "https://api.attio.com/v2/notes"
payload = { "data": {
"parent_object": "people",
"parent_record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d",
"title": "Initial Prospecting Call Summary",
"format": "markdown",
"content": "# Meeting Recap: Q4 Planning
**Date:** 2023-10-26
**Attendees:** Alex, Jamie, Casey
## Key Discussion Points
- Reviewed Q3 performance metrics.
- Brainstormed key initiatives for Q4.
- Discussed budget allocation for ==Project Phoenix==.
## Action Items
1. Alex to finalize Q4 roadmap by EOD Friday.
2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).
3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).
*Next steps: Review draft roadmap next week.*",
"created_at": "2023-01-01T15:00:00.000000000Z",
"meeting_id": "14beef7a-99f7-4534-a87e-70b564330a4c"
} }
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({
data: {
parent_object: 'people',
parent_record_id: '891dcbfc-9141-415d-9b2a-2238a6cc012d',
title: 'Initial Prospecting Call Summary',
format: 'markdown',
content: '# Meeting Recap: Q4 Planning\n\n**Date:** 2023-10-26\n**Attendees:** Alex, Jamie, Casey\n\n## Key Discussion Points\n\n- Reviewed Q3 performance metrics.\n- Brainstormed key initiatives for Q4.\n- Discussed budget allocation for ==Project Phoenix==.\n\n## Action Items\n\n1. Alex to finalize Q4 roadmap by EOD Friday.\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\n\n*Next steps: Review draft roadmap next week.*',
created_at: '2023-01-01T15:00:00.000000000Z',
meeting_id: '14beef7a-99f7-4534-a87e-70b564330a4c'
}
})
};
fetch('https://api.attio.com/v2/notes', 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.attio.com/v2/notes",
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([
'data' => [
'parent_object' => 'people',
'parent_record_id' => '891dcbfc-9141-415d-9b2a-2238a6cc012d',
'title' => 'Initial Prospecting Call Summary',
'format' => 'markdown',
'content' => '# Meeting Recap: Q4 Planning
**Date:** 2023-10-26
**Attendees:** Alex, Jamie, Casey
## Key Discussion Points
- Reviewed Q3 performance metrics.
- Brainstormed key initiatives for Q4.
- Discussed budget allocation for ==Project Phoenix==.
## Action Items
1. Alex to finalize Q4 roadmap by EOD Friday.
2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).
3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).
*Next steps: Review draft roadmap next week.*',
'created_at' => '2023-01-01T15:00:00.000000000Z',
'meeting_id' => '14beef7a-99f7-4534-a87e-70b564330a4c'
]
]),
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.attio.com/v2/notes"
payload := strings.NewReader("{\n \"data\": {\n \"parent_object\": \"people\",\n \"parent_record_id\": \"891dcbfc-9141-415d-9b2a-2238a6cc012d\",\n \"title\": \"Initial Prospecting Call Summary\",\n \"format\": \"markdown\",\n \"content\": \"# Meeting Recap: Q4 Planning\\n\\n**Date:** 2023-10-26\\n**Attendees:** Alex, Jamie, Casey\\n\\n## Key Discussion Points\\n\\n- Reviewed Q3 performance metrics.\\n- Brainstormed key initiatives for Q4.\\n- Discussed budget allocation for ==Project Phoenix==.\\n\\n## Action Items\\n\\n1. Alex to finalize Q4 roadmap by EOD Friday.\\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\\n\\n*Next steps: Review draft roadmap next week.*\",\n \"created_at\": \"2023-01-01T15:00:00.000000000Z\",\n \"meeting_id\": \"14beef7a-99f7-4534-a87e-70b564330a4c\"\n }\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.attio.com/v2/notes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": {\n \"parent_object\": \"people\",\n \"parent_record_id\": \"891dcbfc-9141-415d-9b2a-2238a6cc012d\",\n \"title\": \"Initial Prospecting Call Summary\",\n \"format\": \"markdown\",\n \"content\": \"# Meeting Recap: Q4 Planning\\n\\n**Date:** 2023-10-26\\n**Attendees:** Alex, Jamie, Casey\\n\\n## Key Discussion Points\\n\\n- Reviewed Q3 performance metrics.\\n- Brainstormed key initiatives for Q4.\\n- Discussed budget allocation for ==Project Phoenix==.\\n\\n## Action Items\\n\\n1. Alex to finalize Q4 roadmap by EOD Friday.\\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\\n\\n*Next steps: Review draft roadmap next week.*\",\n \"created_at\": \"2023-01-01T15:00:00.000000000Z\",\n \"meeting_id\": \"14beef7a-99f7-4534-a87e-70b564330a4c\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.attio.com/v2/notes")
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 \"data\": {\n \"parent_object\": \"people\",\n \"parent_record_id\": \"891dcbfc-9141-415d-9b2a-2238a6cc012d\",\n \"title\": \"Initial Prospecting Call Summary\",\n \"format\": \"markdown\",\n \"content\": \"# Meeting Recap: Q4 Planning\\n\\n**Date:** 2023-10-26\\n**Attendees:** Alex, Jamie, Casey\\n\\n## Key Discussion Points\\n\\n- Reviewed Q3 performance metrics.\\n- Brainstormed key initiatives for Q4.\\n- Discussed budget allocation for ==Project Phoenix==.\\n\\n## Action Items\\n\\n1. Alex to finalize Q4 roadmap by EOD Friday.\\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\\n\\n*Next steps: Review draft roadmap next week.*\",\n \"created_at\": \"2023-01-01T15:00:00.000000000Z\",\n \"meeting_id\": \"14beef7a-99f7-4534-a87e-70b564330a4c\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"note_id": "ff3f3bd4-40f4-4f80-8187-cd02385af424"
},
"parent_object": "people",
"parent_record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d",
"title": "Initial Prospecting Call Summary",
"meeting_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"content_plaintext": "Introduction\nDate and time of the call\nParticipants\nPurpose of the call\nCustomer Background\nCompany overview (industry, size, location)\nKey business challenges\nCurrent software solutions (if any) and pain points",
"content_markdown": "# Introduction\nDate and time of the call\nParticipants\nPurpose of the call\n\n## Customer Background\n- Company overview (industry, size, location)\n- Key business challenges\n- Current software solutions (if any) and pain points",
"tags": [
{
"type": "workspace-member",
"workspace_member_id": "50cf242c-7fa3-4cad-87d0-75b1af71c57b"
},
{
"type": "record",
"object": "people",
"record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d"
}
],
"created_by_actor": {
"type": "workspace-member",
"id": "50cf242c-7fa3-4cad-87d0-75b1af71c57b"
},
"created_at": "2022-11-21T13:22:49.061281000Z"
}
}{
"status_code": 404,
"type": "invalid_request_error",
"code": "not_found",
"message": "Object with slug/ID \"people\" not found."
}{
"status_code": 413,
"type": "invalid_request_error",
"code": "validation_type",
"message": "<string>"
}Notes
Create a note
Creates a new note for a given record.
Required scopes: note:read-write, object_configuration:read, record_permission:read.
POST
/
v2
/
notes
Create a note
curl --request POST \
--url https://api.attio.com/v2/notes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"parent_object": "people",
"parent_record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d",
"title": "Initial Prospecting Call Summary",
"format": "markdown",
"content": "# Meeting Recap: Q4 Planning\n\n**Date:** 2023-10-26\n**Attendees:** Alex, Jamie, Casey\n\n## Key Discussion Points\n\n- Reviewed Q3 performance metrics.\n- Brainstormed key initiatives for Q4.\n- Discussed budget allocation for ==Project Phoenix==.\n\n## Action Items\n\n1. Alex to finalize Q4 roadmap by EOD Friday.\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\n\n*Next steps: Review draft roadmap next week.*",
"created_at": "2023-01-01T15:00:00.000000000Z",
"meeting_id": "14beef7a-99f7-4534-a87e-70b564330a4c"
}
}
'import requests
url = "https://api.attio.com/v2/notes"
payload = { "data": {
"parent_object": "people",
"parent_record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d",
"title": "Initial Prospecting Call Summary",
"format": "markdown",
"content": "# Meeting Recap: Q4 Planning
**Date:** 2023-10-26
**Attendees:** Alex, Jamie, Casey
## Key Discussion Points
- Reviewed Q3 performance metrics.
- Brainstormed key initiatives for Q4.
- Discussed budget allocation for ==Project Phoenix==.
## Action Items
1. Alex to finalize Q4 roadmap by EOD Friday.
2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).
3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).
*Next steps: Review draft roadmap next week.*",
"created_at": "2023-01-01T15:00:00.000000000Z",
"meeting_id": "14beef7a-99f7-4534-a87e-70b564330a4c"
} }
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({
data: {
parent_object: 'people',
parent_record_id: '891dcbfc-9141-415d-9b2a-2238a6cc012d',
title: 'Initial Prospecting Call Summary',
format: 'markdown',
content: '# Meeting Recap: Q4 Planning\n\n**Date:** 2023-10-26\n**Attendees:** Alex, Jamie, Casey\n\n## Key Discussion Points\n\n- Reviewed Q3 performance metrics.\n- Brainstormed key initiatives for Q4.\n- Discussed budget allocation for ==Project Phoenix==.\n\n## Action Items\n\n1. Alex to finalize Q4 roadmap by EOD Friday.\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\n\n*Next steps: Review draft roadmap next week.*',
created_at: '2023-01-01T15:00:00.000000000Z',
meeting_id: '14beef7a-99f7-4534-a87e-70b564330a4c'
}
})
};
fetch('https://api.attio.com/v2/notes', 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.attio.com/v2/notes",
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([
'data' => [
'parent_object' => 'people',
'parent_record_id' => '891dcbfc-9141-415d-9b2a-2238a6cc012d',
'title' => 'Initial Prospecting Call Summary',
'format' => 'markdown',
'content' => '# Meeting Recap: Q4 Planning
**Date:** 2023-10-26
**Attendees:** Alex, Jamie, Casey
## Key Discussion Points
- Reviewed Q3 performance metrics.
- Brainstormed key initiatives for Q4.
- Discussed budget allocation for ==Project Phoenix==.
## Action Items
1. Alex to finalize Q4 roadmap by EOD Friday.
2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).
3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).
*Next steps: Review draft roadmap next week.*',
'created_at' => '2023-01-01T15:00:00.000000000Z',
'meeting_id' => '14beef7a-99f7-4534-a87e-70b564330a4c'
]
]),
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.attio.com/v2/notes"
payload := strings.NewReader("{\n \"data\": {\n \"parent_object\": \"people\",\n \"parent_record_id\": \"891dcbfc-9141-415d-9b2a-2238a6cc012d\",\n \"title\": \"Initial Prospecting Call Summary\",\n \"format\": \"markdown\",\n \"content\": \"# Meeting Recap: Q4 Planning\\n\\n**Date:** 2023-10-26\\n**Attendees:** Alex, Jamie, Casey\\n\\n## Key Discussion Points\\n\\n- Reviewed Q3 performance metrics.\\n- Brainstormed key initiatives for Q4.\\n- Discussed budget allocation for ==Project Phoenix==.\\n\\n## Action Items\\n\\n1. Alex to finalize Q4 roadmap by EOD Friday.\\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\\n\\n*Next steps: Review draft roadmap next week.*\",\n \"created_at\": \"2023-01-01T15:00:00.000000000Z\",\n \"meeting_id\": \"14beef7a-99f7-4534-a87e-70b564330a4c\"\n }\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.attio.com/v2/notes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": {\n \"parent_object\": \"people\",\n \"parent_record_id\": \"891dcbfc-9141-415d-9b2a-2238a6cc012d\",\n \"title\": \"Initial Prospecting Call Summary\",\n \"format\": \"markdown\",\n \"content\": \"# Meeting Recap: Q4 Planning\\n\\n**Date:** 2023-10-26\\n**Attendees:** Alex, Jamie, Casey\\n\\n## Key Discussion Points\\n\\n- Reviewed Q3 performance metrics.\\n- Brainstormed key initiatives for Q4.\\n- Discussed budget allocation for ==Project Phoenix==.\\n\\n## Action Items\\n\\n1. Alex to finalize Q4 roadmap by EOD Friday.\\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\\n\\n*Next steps: Review draft roadmap next week.*\",\n \"created_at\": \"2023-01-01T15:00:00.000000000Z\",\n \"meeting_id\": \"14beef7a-99f7-4534-a87e-70b564330a4c\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.attio.com/v2/notes")
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 \"data\": {\n \"parent_object\": \"people\",\n \"parent_record_id\": \"891dcbfc-9141-415d-9b2a-2238a6cc012d\",\n \"title\": \"Initial Prospecting Call Summary\",\n \"format\": \"markdown\",\n \"content\": \"# Meeting Recap: Q4 Planning\\n\\n**Date:** 2023-10-26\\n**Attendees:** Alex, Jamie, Casey\\n\\n## Key Discussion Points\\n\\n- Reviewed Q3 performance metrics.\\n- Brainstormed key initiatives for Q4.\\n- Discussed budget allocation for ==Project Phoenix==.\\n\\n## Action Items\\n\\n1. Alex to finalize Q4 roadmap by EOD Friday.\\n2. Jamie to schedule follow-up with [Marketing Team](https://app.attio.com/teams/marketing).\\n3. Casey to draft initial budget for ~~Project Chimera~~ (now deferred).\\n\\n*Next steps: Review draft roadmap next week.*\",\n \"created_at\": \"2023-01-01T15:00:00.000000000Z\",\n \"meeting_id\": \"14beef7a-99f7-4534-a87e-70b564330a4c\"\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"note_id": "ff3f3bd4-40f4-4f80-8187-cd02385af424"
},
"parent_object": "people",
"parent_record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d",
"title": "Initial Prospecting Call Summary",
"meeting_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"content_plaintext": "Introduction\nDate and time of the call\nParticipants\nPurpose of the call\nCustomer Background\nCompany overview (industry, size, location)\nKey business challenges\nCurrent software solutions (if any) and pain points",
"content_markdown": "# Introduction\nDate and time of the call\nParticipants\nPurpose of the call\n\n## Customer Background\n- Company overview (industry, size, location)\n- Key business challenges\n- Current software solutions (if any) and pain points",
"tags": [
{
"type": "workspace-member",
"workspace_member_id": "50cf242c-7fa3-4cad-87d0-75b1af71c57b"
},
{
"type": "record",
"object": "people",
"record_id": "891dcbfc-9141-415d-9b2a-2238a6cc012d"
}
],
"created_by_actor": {
"type": "workspace-member",
"id": "50cf242c-7fa3-4cad-87d0-75b1af71c57b"
},
"created_at": "2022-11-21T13:22:49.061281000Z"
}
}{
"status_code": 404,
"type": "invalid_request_error",
"code": "not_found",
"message": "Object with slug/ID \"people\" not found."
}{
"status_code": 413,
"type": "invalid_request_error",
"code": "validation_type",
"message": "<string>"
}Was this page helpful?
⌘I