---
title: "Trigger a group webhook"
method: POST
path: "/v1/groups/webhook/{webhookId}/{secret}"
tags: ["webhooks"]
---

# Trigger a group webhook

`POST /v1/groups/webhook/{webhookId}/{secret}`

Trigger all runnable tests in a group from a signed webhook URL.

## Path parameters

- `webhookId` string, uuid, required
- `secret` string, required

## Request body

- object
  - `platform` 'web' | 'ios' | 'android' — Run platform for the batch. Mobile tests default to ios when omitted, so Android runs must set platform: android — including when the mobile app is selected by appId or bundleId.
  - `deviceModel` 'iphone' | 'ipad' — Mobile device variant within the run platform (iOS: iphone | ipad). Omit for the platform default phone-sized device; explicitly requesting the default (e.g. iphone) is equivalent to omitting it.
  - `projectEnvironmentId` string, uuid
  - `targetUrl` string, uri
  - `environment` 'production' | 'staging' | 'preview' | 'custom'
  - `mobile` V1GroupsWebhookWebhookIdSecretPostRequestBodyContentApplicationJsonSchemaMobile
    - `appId` string, uuid
    - `bundleId` string
    - `artifactUrl` string, uri
    - `artifactFilename` string
    - `buildId` string
  - `commitSha` string

## Response `202`

Webhook accepted

- WebhooksTriggerAGroupWebhookResponse202
  - `received` boolean, required
  - `ignored` boolean
  - `reason` string
  - `runId` string, uuid
  - `batchId` string, uuid — First created batch only. Use batchIds, which covers every PR test group.
  - `batchIds` string[] — One batch per selected PR test group started by this delivery.

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing API key
- `429` — Too Many Requests - Usage limit exceeded
- `500` — Internal Server Error
- `504` — Gateway Timeout - Test execution exceeded time limit

---

[API](https://skmtc.net/tester/apis/testerarmy-api.md) · [All operations](https://skmtc.net/tester/apis/testerarmy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tester/testerarmy-api/versions/7fd19ca2a7fc/schema)
