Docs
Templates

Get template usage

Mailboxes currently using this template through their labels

GET
/v2/workspaces/{workspaceId}/templates/{id}/usage

Path Parameters

idnumber
workspaceIdnumber

Response Body

curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0/templates/0/usage"
{
  "data": {
    "mailboxes": [
      {
        "id": 0,
        "emailAddress": "string"
      }
    ]
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}