Contact Trainings API - en
Using this API, you can view, add and delete trainings from the selected contact.
Reading.
Allows you to view the trainings of the selected contact.
GET https://api.smartsender.com/v1/contacts/{contactId}/trainings
Main parameters:
Name | Description | Validation |
---|---|---|
page | Requested page | Minimum value 1 |
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
If the response is successful, you will receive the following:
{
"cursor": Cursor,
"collection": Training[]
}
Answer description:
Addition.
Allows you to add training to the selected contact
POST https://api.smartsender.com/v1/contacts/{contactId}/trainings/{serviceId}
If the response is successful, you will receive the following:
Delete.
Allows you to delete training for the selected contact
If the response is successful, you will receive the following: