---
title: "Ingestion API"
description: "Send custom logs and metrics to Middleware over HTTP with the Ingestion API, using OTLP JSON and your Middleware API key."
section: "API"
breadcrumb: "API > Ingestion API"
canonical: "https://docs.middleware.io/get-started/ingestion-api"
---
# Ingestion API

Use the Middleware Ingestion API to send custom logs and metrics over HTTP as OTLP JSON, authenticated with your API key. Use it for data sources that the agent and SDKs don't cover.

- [Custom logs](/get-started/ingestion-api/custom-logs) — Step-by-step guide to configure Middleware integration for Custom Logs. Track application logs, detect errors, and monitor performance.
- [Custom metrics](/get-started/ingestion-api/custom-metrics)
