curl --request GET \
--url https://api.lettermint.co/v1/projects/{projectId}/routes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"route_type": "transactional",
"is_default": true,
"webhooks_count": 123,
"suppressed_recipients_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"path": "<string>",
"per_page": 123,
"next_cursor": "<string>",
"next_page_url": "<string>",
"prev_cursor": "<string>",
"prev_page_url": "<string>"
}curl --request GET \
--url https://api.lettermint.co/v1/projects/{projectId}/routes \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"route_type": "transactional",
"is_default": true,
"webhooks_count": 123,
"suppressed_recipients_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"path": "<string>",
"per_page": 123,
"next_cursor": "<string>",
"next_page_url": "<string>",
"prev_cursor": "<string>",
"prev_page_url": "<string>"
}Team API token. Find this in your team settings.
Available sorts are name, slug, created_at. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -name.
The number of results that will be returned per page.
The cursor to start the pagination from.
transactional, broadcast, inbound Search by name or slug
Paginated set of RouteListData
Show child attributes
transactional, broadcast, inbound Base path for paginator generated URLs.
Number of items shown per page.
The "cursor" that points to the next set of items.
The "cursor" that points to the previous set of items.