Skip to content

Get the last signal

GET https://rest.haasapi.com/v1/partner/signals/{signal_token}

Returns the last signal pushed for a token, kept for 7 days. Useful to confirm what you last sent.

Requires the partner scope.

Terminal window
curl "https://rest.haasapi.com/v1/partner/signals/{signal_token}" \
-H "Authorization: Bearer hk_live_YOUR_KEY"

200 OK. Returns a PartnerSignal.

{
"signal_token": "a1b2c3d4",
"action": "enter_long",
"sent_at": "2026-08-31T14:05:00Z"
}
Field Type Description
signal_token string
action string
sent_at string, nullable When the signal was pushed (RFC 3339).

All errors are RFC 9457 problem documents.

Status Description
400 The request is malformed (invalid limit, unusable cursor, …). (code: invalid_request)
401 Missing, malformed, disabled, or revoked API key. (code: invalid_api_key)
404 No signal stored for that token. (code: signal_not_found)
500 An unexpected error inside the API. Nothing about the request caused it; retry, and quote the instance value if it persists. (code: internal_error)
502 An internal service answered in a way the API could not serve. Retry. (code: upstream_error)
503 The request could not be served right now. Retry with the same key - do not discard it. (code: temporarily_unavailable)
504 An internal service did not answer within the deadline. Retry with backoff. (code: upstream_timeout)
{
"type": "https://docs.haasapi.com/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed (invalid limit, unusable cursor, …).",
"code": "invalid_request"
}