---
title: "Register a push click"
method: POST
path: "/push/click"
tags: ["Push notifications"]
---

# Register a push click

`POST /push/click`

## Request

- Base URL: `https://api2.ecomailapp.cz`
- URL: `https://api2.ecomailapp.cz/push/click`
- Auth: API key in header `key`

Report push notification click tokens so taps are attributed to the campaign or automation that sent them.

## Request body

- object
  - `ecm_push_id` union, required: Click tokens read from the `ecm_push_id` value in the notification's `data` payload, or from the `ecm_push_id` query parameter of the link opened on the web. Send an array of 1 to 500 tokens, or a single token as a plain string. Each token can be up to 2048 characters.
    - unknown[]
      - unknown
    - string

## Response `200`

OK

- object
  - `rejected` integer

## Other responses

- `204`: No Content
- `422`: Unprocessable Entity

## Changes

- **2026-11-02** `c70ca534a306`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ecomail/apis/ecomail-api/changes/push/click/post.md)

---

[API](https://skmtc.dev/ecomail/apis/ecomail-api.md) - [All operations](https://skmtc.dev/ecomail/apis/ecomail-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ecomail/apis/ecomail-api/revisions/c70ca534a306?raw)
