POST
/
v2
/
actions
/
{action_id}
/
inputs
/
{input_id}
/
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": {}
  }
}'
[
  {
    "data": [
      {
        "id": "55c",
        "type": "choice",
        "label": "First",
        "value": "example"
      },
      {
        "id": "a73",
        "type": "choice",
        "label": "Second",
        "value": "example"
      }
    ],
    "links": {
      "next": null,
      "prev": null
    },
    "meta": {
      "page": 1
    }
  }
]

Authorizations

Authorization
string
headerrequired

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

data
object
required

Response

200 - application/json
data
object[]
links
object
required

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.