/v1/workspaces/{workspace_id}/inbound-routesAuthList inbound routes
Newest first, cursor-paged, each with its rules in order. Filter by `domain_id`.
Path parameters
workspace_id*string · uuidId of the workspace.
Query parameters
domain_idstring · uuidOnly routes on this domain.
limitintegerPage size, 1–100
cursorstringOpaque cursor from the previous page's `pagination.next_cursor`.
Response · 200
data*arrayThe routes on this page, newest first.
pagination*objectnext_cursor*stringOpaque cursor for the next page. `null` when no more pages are available.
Example: "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQwMDowMDowMFoifQ"
has_more*booleanTrue iff another page exists; if true, pass `next_cursor` on the next request.
Example: false
Example
Request
GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/inbound-routes
Authorization: Bearer YOUR_TOKENResponse
{
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"domain_id": "00000000-0000-0000-0000-000000000000",
"address": "support@in.acme.com",
"local_part": "support",
"catch_all": false,
"enabled": false,
"store_mailbox_id": "00000000-0000-0000-0000-000000000000",
"rules": [
{
"id": "00000000-0000-0000-0000-000000000000",
"position": 0,
"name": "string",
"conditions": {},
"actions": [
null
],
"stop": false
}
],
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
],
"pagination": {
"next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQwMDowMDowMFoifQ",
"has_more": false
}
}