Skip to main content
POST
/
v2
/
actions
/
{action_id}
/
test
Step 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": 0
  },
  "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
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 request structure to test a particular Action

Response

Base Response definition to be used in other Response Serializers.

Be sure to include the data field after using this class

The links object returned in paginated response bodies.

meta
object
required

The meta object returned in paginated response bodies.

data
object[]
required

The result of executing said Action on the third-party API

I