All URIs are relative to https://zernio.com/api
| Method | HTTP request | Description |
|---|---|---|
| create_comment_automation | POST /v1/comment-automations | Create a comment-to-DM automation |
| delete_comment_automation | DELETE /v1/comment-automations/{automationId} | Delete automation and all logs |
| get_comment_automation | GET /v1/comment-automations/{automationId} | Get automation details with recent logs |
| list_comment_automation_logs | GET /v1/comment-automations/{automationId}/logs | List trigger logs for an automation |
| list_comment_automations | GET /v1/comment-automations | List comment-to-DM automations |
| update_comment_automation | PATCH /v1/comment-automations/{automationId} | Update automation settings |
models::CreateCommentAutomation200Response create_comment_automation(create_comment_automation_request) Create a comment-to-DM automation
Create a keyword-triggered DM automation on an Instagram or Facebook post. When someone comments a matching keyword, they automatically receive a DM. Only one active automation per post is allowed.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| create_comment_automation_request | CreateCommentAutomationRequest | [required] |
models::CreateCommentAutomation200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_comment_automation(automation_id) Delete automation and all logs
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| automation_id | String | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::GetCommentAutomation200Response get_comment_automation(automation_id) Get automation details with recent logs
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| automation_id | String | [required] |
models::GetCommentAutomation200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ListCommentAutomationLogs200Response list_comment_automation_logs(automation_id, status, limit, skip) List trigger logs for an automation
Paginated list of every comment that triggered this automation, with send status and commenter info.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| automation_id | String | [required] | ||
| status | Option<String> | Filter by result status | ||
| limit | Option<i32> | [default to 50] | ||
| skip | Option<i32> | [default to 0] |
models::ListCommentAutomationLogs200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ListCommentAutomations200Response list_comment_automations(profile_id) List comment-to-DM automations
List all comment-to-DM automations for a profile. Returns automations with their stats.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| profile_id | Option<String> | Filter by profile. Omit to list across all profiles |
models::ListCommentAutomations200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::UpdateCommentAutomation200Response update_comment_automation(automation_id, update_comment_automation_request) Update automation settings
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| automation_id | String | [required] | ||
| update_comment_automation_request | Option<UpdateCommentAutomationRequest> |
models::UpdateCommentAutomation200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]