You can fetch the details of a single note.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"2.14"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:2.14
- The production API serverhttps://api.intercom.io/notes/{id}
- The european API serverhttps://api.eu.intercom.io/notes/{id}
- The australian API serverhttps://api.au.intercom.io/notes/{id}
library(httr)
id = "1"
# create you own operator
"%&%" <- function(x, y)paste0(x,y)
url = "https://api.intercom.io/notes/" %&% id
data_req <- GET(
url,
add_headers("Intercom-Version" = "2.14", "Authorization" = "Bearer <YOUR_TOKEN_HERE>"),
verbose()
)
content(data_req)Note found
Response
{ "type": "note", "id": "34", "created_at": 1733846617, "contact": { "type": "contact", "id": "6762f2591bb69f9f2193bc1f" }, "author": { "type": "admin", "id": "991267864", "name": "Ciaran346 Lee", "email": "admin346@email.com", "away_mode_enabled": false, "away_mode_reassign": false }, "body": "<p>This is a note.</p>" }