triggers.v1.TriggersService
ResumeTrigger
Resume a paused trigger (sets status back to ARMED/RUNNING as appropriate).
Request
curl --request POST \ \
--url 'https://api.testnet.polyester.com/triggers.v1.TriggersService/ResumeTrigger' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{
"subaccountId": "6789012345678",
"symbolId": 1,
"triggerId": "9155001234567"
}'Responses
{
"status": "STATUS_CREATED",
"triggerId": "9155001234567",
"ts": "2025-01-01T00:00:00Z",
"tsNs": "1735689600000000000"
}triggers.v1.ResumeTriggerRequesttriggers.v1.ResumeTriggerResponseTrigger ID to resume.
Optional public subaccount ID for authorization. When omitted, subaccount-scoped API keys use their bound subaccount; other callers use their authenticated root account.
Optional trading symbol numeric identifier. Zero or omitted means the trigger's own pair. When set, it must be the trigger's pair: another listed pair is rejected with ERROR_CODE_TRIGGER_SYMBOL_MISMATCH, and a pair that is not listed with ERROR_CODE_UNKNOWN_SYMBOL; either leaves the trigger unchanged. An API key limited to specific markets must name the trigger's pair.
Resumed trigger ID.
Current trigger status after resuming.
Server timestamp.
Server timestamp in nanoseconds since epoch (UTC).
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |