Analytics
Create user annotation
Create a new user annotation. Please note that each request must be authenticated.
post/api/analytics/v1/manage/annotation/user/
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"id": "677fe0d3-b4f7-43ed-852d-1a9e7b8e59fb",
"attributes": {
"date": "2021-05-01",
"content": "Launch of a new campaign!"
}
}
}Response
OK
Example response
{
"data": {
"id": "677fe0d3-b4f7-43ed-852d-1a9e7b8e59fb",
"attributes": {
"date": "2021-05-01",
"content": "Launch of a new campaign!"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.