Trainings API - en

Using this API, you can view created trainings in the project.

 

Reading.

Allows you to view created trainings.

 

GET https://api.smartsender.com/v1/trainings

 

Main parameters:

Name

Description

Validation

Name

Description

Validation

page

Requested page

Minimum value 1

limitation

Amount of data to display per page

Minimum value 1, maximum 20

term

Search string

 

 

If the response is successful, you will receive the following:

 

{ "cursor": Cursor, "collection": Training[] }

 

Answer description:

Name

Description

Name

Description

cursor

Type object Cursor

collection

Array of type objects Training

 

Getting by ID.

Allows you to obtain information about the selected training.

 

GET https://api.smartsender.com/v1/trainings/{trainingId}

 

If the response is successful, you will receive an object of type Training.