Poll - Retrieve Poll Status

Retrieve the status of a poll.

GET /poll/status/{poll_id}

Example — cURL

cURL
curl --request GET \
  --url https://sandbox.hyperswitch.io/poll/status/{poll_id} \
  --header 'api-key: <api-key>'

Request

  • Method: GET

  • Path: /poll/status/{poll_id}

  • Path parameter:

    • poll_id (string, required) — The identifier for poll

Authorizations

  • Header: api-key (string, required) Publishable keys are a type of keys that can be public and have limited scope of usage.

Response

  • Status: 200

  • Content-Type: application/json

  • Example body:

Response fields:

  • poll_id (string, required) — The poll id

  • status (enum, required) — Available options: pending, completed, not_found


Was this page helpful? Yes / No

Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v1/poll/poll--retrieve-poll-status.mdx Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v1/poll/poll--retrieve-poll-status

API reference: https://api-reference.hyperswitch.io/