> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galinum.com/llms.txt
> Use this file to discover all available pages before exploring further.

# testPushCampaign



## OpenAPI

````yaml /openapi.json post /api/v1/campaigns/{id}/push/test
openapi: 3.1.0
info:
  title: Galinum API
  version: '2026-08-22'
  description: >-
    Galinum's HTTP API. SDK endpoints power the browser SDK. Management
    endpoints use a project secret. The scoped hosted-agent credential writes
    only through lease-fenced evaluation and GitHub source endpoints.
    Managed-only operations return 501 on the self-host server.
servers:
  - url: https://galinum.com
    description: Production
security:
  - publishableKey: []
paths:
  /api/v1/campaigns/{id}/push/test:
    post:
      tags:
        - Push
      summary: testPushCampaign
      operationId: testPushCampaign
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 128
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PushTestInput'
        description: 'Maximum encoded body size: 65536 bytes.'
      responses:
        '200':
          description: Successful operation. Acceptance is distinct from device receipt.
          content:
            application/json:
              schema:
                type: object
                properties:
                  targetIds:
                    type: array
                    items:
                      type: string
                      minLength: 1
                      maxLength: 128
                    maxItems: 10000
                required:
                  - targetIds
                additionalProperties: false
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '409':
          description: Conflict
        '413':
          description: Body too large
        '429':
          description: Rate limit
        '503':
          description: Configuration or capacity unavailable
      security:
        - secretKey: []
components:
  schemas:
    PushTestInput:
      type: object
      properties:
        installationId:
          type: string
          minLength: 1
          maxLength: 128
        requestId:
          type: string
          minLength: 1
          maxLength: 128
      required:
        - installationId
        - requestId
      additionalProperties: false
  securitySchemes:
    publishableKey:
      type: http
      scheme: bearer
      description: >-
        Your project's publishable key (`pk_pub_…`). Safe to expose in the
        browser — it identifies the project and is rate-limited, not secret.
    secretKey:
      type: http
      scheme: bearer
      description: >-
        Your project's secret key (`pk_…`, without the `pub` segment).
        Server-side only — never ship it to a browser. Get it from Settings →
        Projects in the dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.