Retrieve the current Autopilot configuration for for the designated distribution platform.
GET /v1/autopilot/email.json
For SMS:GET /v1/autopilot/sms.json
curl https://api.delighted.com/v1/autopilot/email.json \
-u YOUR_DELIGHTED_API_KEY: \
-H "Content-Type: application/json"
config = Delighted::AutopilotConfiguration.retrieve("email")
config = delighted.autopilotConfiguration.retrieve('email');
$config = \Delighted\AutopilotConfiguration::retrieve('email');
config = delighted.AutopilotConfiguration.retrieve('email')
{
"platform_id": "email",
"active": true,
"frequency": 7776000,
"created_at": 1720817822,
"updated_at": 1728161822
}
Name | Type | Description |
---|---|---|
platform_id |
String | The name of the distribution platform this Autopilot configuration is set for. |
active |
Boolean | Whether Autopilot is active for this distribution platform or not. |
frequency |
Integer | Number of seconds between recurring surveys for people in Autopilot for this distribution platform |
created_at |
Timestamp | A Unix timestamp describing when the Autopilot configuration for this distribution platform was first set up. |
updated_at |
Timestamp | A Unix timestamp describing when the Autopilot configuration for this distribution platform was last changed. |