{
"id": "6a3de646e18f344f743aaa4d",
"contactId": 1693364594105000000,
"content": "Customer prefers follow-up in the morning.",
"operatorId": "user_123",
"updateOperatorId": "user_123",
"createTime": "2022-06-01T12:00:00.000Z",
"updateTime": "2022-06-01T12:00:00.000Z"
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}Contacts
Delete a contact note
Deletes one note in the current tenant by note ID and returns its snapshot before deletion.
Deleting the same note again returns 404; the operation does not use a client idempotency key.
DELETE
https://api.ycloud.com/v2
/
contact
/
notes
/
{noteId}
{
"id": "6a3de646e18f344f743aaa4d",
"contactId": 1693364594105000000,
"content": "Customer prefers follow-up in the morning.",
"operatorId": "user_123",
"updateOperatorId": "user_123",
"createTime": "2022-06-01T12:00:00.000Z",
"updateTime": "2022-06-01T12:00:00.000Z"
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}{
"error": {
"status": 404,
"code": "NOT_FOUND",
"message": "The requested resource does not exist.",
"target": "",
"docUrl": "",
"requestId": "req_1KjtKI80IKoaJNa6n6p",
"whatsappApiError": {
"message": "HSM Template creation failed",
"code": 200002,
"type": "OAuthException",
"is_transient": false,
"error_subcode": 2388109,
"error_user_msg": "This message template cannot be created.",
"error_user_title": "Message Cannot Be Submitted",
"fbtrace_id": "AVGjJ7ia2zJkrHG",
"error_data": "<string>"
},
"metaBusinessAgentApiError": {
"title": "<string>",
"detail": "<string>",
"type": "<string>",
"status": 123,
"requestId": "<string>"
}
}
}Authorizations
Path Parameters
The 24-character ObjectId of the contact note.
Required string length:
24Pattern:
^[0-9a-fA-F]{24}$Example:
"6a3de646e18f344f743aaa4d"
Response
Successfully deleted the contact note.
Represents an internal note attached to a contact.
Unique 24-character ObjectId for the contact note. IDs remain unchanged after storage migration.
Required string length:
24Pattern:
^[0-9a-fA-F]{24}$Example:
"6a3de646e18f344f743aaa4d"
Unique ID of the contact that owns this note.
Example:
1693364594105000000
Note content.
Maximum string length:
500Example:
"Customer prefers follow-up in the morning."
ID of the actor who created the note.
Example:
"user_123"
ID of the actor who last updated the note.
Example:
"user_123"

