Skip to main content

Logs

Base URL https://api.leadx.in/api/key/protected. Every request needs an apikey header — see Authentication.

14 endpoints.

GET /logs

Get server logs.

Auth apikey

:::note Used by the web app pages/EmailLogs.jsx, pages/Logs.jsx :::

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of ServerLog objects, alongside the pagination fields described in Response format.

GET /logs/brevo

Get Brevo messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of BrevoMessage objects, alongside the pagination fields described in Response format.

GET /logs/elasticemail

Get ElasticEmail messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of ElasticemailMessage objects, alongside the pagination fields described in Response format.

GET /logs/gmail

Get Gmail messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of GmailMessage objects, alongside the pagination fields described in Response format. gmails, updatedBy, createdBy are populated, so they arrive as nested objects rather than ids.

GET /logs/invite

Get all invite logs.

Auth apikey

:::note Used by the web app pages/MemberManagement.jsx :::

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of InviteLog objects, alongside the pagination fields described in Response format. actionBy, role are populated, so they arrive as nested objects rather than ids.

GET /logs/login

Get login logs.

Auth apikey

:::note Used by the web app pages/LoginLogs.jsx :::

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of LoginLog objects, alongside the pagination fields described in Response format. user is populated, so it arrives as nested objects rather than ids.

GET /logs/mailchimp

Get Mailchimp messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of MailchimpMessage objects, alongside the pagination fields described in Response format.

GET /logs/postmark

Get Postmark messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of PostmarkMessage objects, alongside the pagination fields described in Response format.

GET /logs/report

Get reports.

Auth apikey

:::note Used by the web app pages/NotificationSettings.jsx, pages/ReportSettings.jsx :::

Query parameters

FieldDefault
reportType
by
startDate
endDate
download

Errors ReportNotFound_404

GET /logs/sendgrid

Get SendGrid messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of SendgridMessage objects, alongside the pagination fields described in Response format.

GET /logs/ses

Get ses messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of SesMessage objects, alongside the pagination fields described in Response format.

GET /logs/smtp

Get smtp messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of SmtpMessage objects, alongside the pagination fields described in Response format. smtp, updatedBy, createdBy are populated, so they arrive as nested objects rather than ids.

GET /logs/sparkpost

Get SparkPost messages.

Auth apikey

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of SparkpostMessage objects, alongside the pagination fields described in Response format.

GET /logs/whatsapp

Get all WhatsApp message.

Auth apikey

:::note Used by the web app pages/WhatsappLogs.jsx :::

Query parameters — the standard list contract: p, n, sortBy, sortOrder, searchBy, searchValue, filters, advancedFilters, ids, nids. See Pagination and Filtering.

Responsedata is an array of WhatsAppMessage objects, alongside the pagination fields described in Response format. app, template, updatedBy, createdBy are populated, so they arrive as nested objects rather than ids.