Retrieves all templates belonging to the authenticated user, with optional sorting by fields such as updatedAt
.
updatedAt
.
GET /templates/all
sort
(string, optional): Sort behavior, either by the date the template was created (createdAt
) or when it was last updated (updatedAt
). Defaults to updatedAt
.order
(string, optional): Sort order, either ascending (asc
) or descending (desc
). Defaults to desc
.Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Sort behavior, either by the date the template was created (createdAt
) or when it was last updated (updatedAt
).
Sort order, either ascending ('asc') or descending ('desc').
asc
, desc
Templates retrieved successfully
The response is of type object[]
.