With this API, you can view, edit, create, and delete notes for the selected contact.
Reading.
Get a list of created notes for a contact.
GET https://api.smartsender.com/v1/contacts/{contactId}/notes
Main parameters:
Name | Description | Validation |
---|---|---|
page | Requested Page | Minimum value 1 |
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
In case of a successful response, you will receive the following:
{ "cursor": Cursor, "collection": Note[] }
Answer description:
Creation.
Create a note for a contact.
POST https://api.smartsender.com/v1/contacts/{contactId}/notes
Main parameters:
Name | Description |
---|---|
text | Note Description |
In case of a successful response, get an object of type Note.
Update.
Allows you to update the selected notes of the contact.
PUT https://api.smartsender.com/v1/contacts/{contactId}/notes/{noteId}
In case of a successful response, you will receive the following:
{ "state": true }
Deletion.
Allows you to delete the selected note from the contact.
DELETE https://api.smartsender.com/v1/contacts/{contactId}/notes/{noteId}
In case of a successful response, you will receive the following:
{ "state": true }