Nexthink Campaigns API

The Campaigns API from Nexthink — 1 operation(s) for campaigns.

Operations 1

POST /api/v1/euf/campaign/trigger Trigger a campaign #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexthink-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nexthink-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Campaigns API
  version: 1.0.0
servers:
- url: https://{instance}.api.{region}.nexthink.cloud
  description: Nexthink Infinity instance API host
  variables:
    instance:
      default: instance
      description: Your Nexthink instance name
    region:
      default: us
      enum:
      - us
      - eu
      - pac
      - meta
      description: Nexthink cloud region
security:
- bearerAuth: []
tags:
- name: Campaigns
paths:
  /api/v1/euf/campaign/trigger:
    post:
      tags:
      - Campaigns
      summary: Trigger a campaign
      description: Trigger the sending of a campaign to specific users.
      operationId: triggerCampaign
      parameters: []
      requestBody:
        description: The configuration of the campaign target.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerRequest'
        required: true
      responses:
        '200':
          description: OK - Successful triggering.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerSuccessResponse'
        '400':
          description: Bad request - Invalid request, see the error code for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerErrorResponse'
        '401':
          description: Unauthorized - No valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerErrorResponse'
        '403':
          description: Forbidden - Error response when no permissions.
components:
  schemas:
    TriggerResponseDetails:
      required:
      - userSid
      type: object
      properties:
        requestId:
          type: string
          description: ID of the request created for the user that can be used to retrieve later the status and answers to the campaign, in case the request could be created successfully
        userSid:
          type: string
          description: SID of the user
        message:
          type: string
          description: Reason why a request could not be created for that user SID
    TriggerRequest:
      required:
      - campaignNqlId
      - expiresInMinutes
      - userSid
      type: object
      properties:
        campaignNqlId:
          minLength: 1
          type: string
          description: The ID of the campaign to send.
        userSid:
          maxItems: 10000
          minItems: 1
          type: array
          description: SIDs of users that the campaign should be sent to.
          items:
            type: string
            description: SID of a user.
        expiresInMinutes:
          maximum: 525600
          minimum: 1
          type: integer
          description: The number of minutes before the campaign response expires and will stop being shown to the users, starting from the current time. The expiration date and time is set at the time of the API call and is not influenced by the time at which the campaign is displayed to the user or by the user postponing the campaign.
          format: int32
        parameters:
          maxItems: 30
          type: object
          additionalProperties:
            type: string
          description: Key and value of the parameters within the campaign to be replaced to compose the final questions to be displayed. The provided keys must match exactly the IDs of all parameters of the campaign. In case a duplicated key is specified, only the latest value of the parameter will be taken into account.
    TriggerSuccessResponse:
      required:
      - requests
      type: object
      properties:
        requests:
          minItems: 1
          type: array
          description: Identifiers of the requests created for each user SID sent in the request or corresponding message in case of error. Duplicate SIDs in the API request are filtered out from the response list.
          items:
            $ref: '#/components/schemas/TriggerResponseDetails'
    TriggerErrorResponse:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
          description: The error code returned to the client.
        message:
          type: string
          description: The error message returned to the client.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: jwt
x-apievangelist-source: https://docs.nexthink.com/api/llms.txt
x-apievangelist-method: searched
x-apievangelist-generated: '2026-07-20'