Skip to main content
POST
/
v2
/
actions
/
{action_id}
/
inputs
Get Input Fields
curl --request POST \
  --url https://api.zapier.com/v2/actions/{action_id}/inputs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "authentication": "<string>",
    "inputs": {},
    "limit": 10,
    "offset": 0
  }
}
'
{
  "links": {
    "next": "<string>",
    "prev": "<string>"
  },
  "meta": {
    "count": 1,
    "limit": 2,
    "offset": 0
  },
  "data": [
    {
      "type": "<string>",
      "id": "<string>",
      "default_value": "<string>",
      "depends_on": [
        "<string>"
      ],
      "description": "<string>",
      "format": "DATETIME",
      "invalidates_input_fields": true,
      "is_required": true,
      "items": {},
      "placeholder": "<string>",
      "title": "<string>",
      "value_type": "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.

Body

application/json

Common inputs with inputs and an authentication id.

data
object
required

The common data object that includes inputs and an authentication id.

Response

A successful response for getting the input fields for a particular Action.

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]
required

The base concept of a Fieldset, from which others extend

Represents Input Field data as accepted by the API