Skip to main content

GetActiveAssignment returns the active assignment for a campaign/channel.

GET 

/api/v1/surveys/assignments/active

Typically called by execution pipelines (voice IVR, chat handlers) to determine which survey to deliver for a given interaction.

Parameters

  • campaign_id: Required, campaign ID (> 0).
  • channel_type: Required, channel to resolve. One of voice, whatsapp, sms, webchat, email.

Errors

  • NOT_FOUND: No active assignment exists for this pair.

Request

Responses

A successful response.