POST
/
v2
/
actions
/
{action_id}
/
test
curl --request POST \
  --url https://api.zapier.com/v2/actions/{action_id}/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {
    "limit": 10,
    "offset": 0,
    "authentication": "example_QVaAreV1",
    "inputs": {
      "email": "me@example.com"
    }
  }
}'
{
  "links": {
    "next": null,
    "prev": null
  },
  "meta": {
    "count": 1,
    "limit": null,
    "offset": null
  },
  "data": [
    {
      "Description": "A response from some example third party API related to the action",
      "Source": "RFC 8259",
      "Image": {
        "Width": 800,
        "Height": 600,
        "Title": "View from 15th Floor",
        "Thumbnail": {
          "Url": "https://www.example.com/image/481989943",
          "Height": 125,
          "Width": 100
        },
        "Animated": false,
        "IDs": [
          116,
          943,
          234,
          38793
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Path Parameters

action_id
string
required

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

Body

data
object
required

Response

200 - application/json
links
object
required

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]
required