Get a distribution settings
This endpoint retrieves distribution settings of a survey.
Request
GET https://api.nicereply.com/surveys/<ID>/distribution
Path Parameters
| Parameter | Data Type | Description | 
|---|---|---|
| ID | UUID | ID of the survey. | 
Example responses
For TEMPLATE type
200 OK
{
  "data": {
    "type": "TEMPLATE",
    "trigger": null,
    "modal": null
  }
}
For TRIGGER type
200 OK
{
  "data": {
    "type": "TRIGGER",
    "trigger": {
      "active": true
    },
    "modal": null
  }
}
For MODAL type
200 OK
{
  "data": {
    "type": "MODAL",
    "trigger": null,
    "modal": {
      "active": true
    }
  }
}