---
title: "POST /api/v1/integrations/add-logz/"
method: POST
path: "/api/v1/integrations/add-logz/"
tags: ["integrations"]
---

# POST /api/v1/integrations/add-logz/

`POST /api/v1/integrations/add-logz/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/integrations/add-logz/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/integrations/add-logz/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new Logz.io integration

## Request body

- IntegrationLogz
  - `pk` integer
  - `url` string
  - `name` string, required: Your preferred name for this integration.
  - `module` string: The provider of the integration.
  - `contact_groups` string[]: Array of contact names or IDs this integration is assigned to
  - `is_errored` boolean
  - `last_error` string
  - `listener_url` string: The Listener domain name that logs and metrics are sent to.
  - `logs_shipping_token` string: Your Logs shipping token.
  - `metrics_shipping_token` string: Your Metrics shipping token.

## Response `200`

- IntegrationLogz
  - `pk` integer
  - `url` string
  - `name` string, required: Your preferred name for this integration.
  - `module` string: The provider of the integration.
  - `contact_groups` string[]: Array of contact names or IDs this integration is assigned to
  - `is_errored` boolean
  - `last_error` string
  - `listener_url` string: The Listener domain name that logs and metrics are sent to.
  - `logs_shipping_token` string: Your Logs shipping token.
  - `metrics_shipping_token` string: Your Metrics shipping token.

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
