Skip to main content
POST
/
v2
/
actions
/
{action_id}
/
inputs
/
{input_id}
/
choices
Get Choices
curl --request POST \
  --url https://api.zapier.com/v2/actions/{action_id}/inputs/{input_id}/choices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "authentication": "<string>",
    "inputs": {}
  }
}
'
[
  {
    "links": {
      "next": "<string>",
      "prev": "<string>"
    },
    "meta": {
      "page": 123
    },
    "data": [
      {
        "id": "<string>",
        "type": "<string>",
        "value": "<string>",
        "label": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

See our OAuth2 authentication documentation here: https://docs.zapier.com/powered-by-zapier/api-reference/authentication

Path Parameters

action_id
string
required

An Action ID, as provided by the /actions endpoint.

input_id
string
required

An Input Field ID, as provided by the /inputs endpoint.

Query Parameters

page
string
default:1

The page of choices to return, defaults to the first

Body

application/json
data
object
required

A Choice as to be provided to the /choices endpoint

Response

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]

A list of Choices matching the given request