POST
/
v2
/
actions
/
{action_id}
/
outputs
Get Output Fields
curl --request POST \
  --url https://api.zapier.com/v2/actions/{action_id}/outputs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "authentication": "example_QVaAreV1",
    "inputs": {
      "someparam": "somevalue"
    }
  }
}'
{
  "links": {
    "next": null,
    "prev": null
  },
  "meta": {
    "count": 3,
    "limit": null,
    "offset": 0
  },
  "data": [
    {
      "type": "output_fields",
      "id": "commit__message",
      "title": "Commit Message",
      "sample": "Git 2.0"
    },
    {
      "type": "output_field",
      "id": "parents[]sha",
      "title": "Parents Sha",
      "sample": "4a28f169ad29ba452e0e7bea2583914c10c58322"
    },
    {
      "type": "output_field",
      "id": "parents[]url",
      "title": "Parents Url",
      "sample": "https://github.com/git/git/commit/4a28f169ad29ba452e0e7bea2583914c10c58322"
    }
  ]
}

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
data
object
required

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

Response

A successful response containing Output Field data

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]
required

A list of the Output Fields matching the given request