curl --request POST \
--url https://actions.zapier.com/api/v2/apps/{app}/actions/{action}/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"params": {}
}'{
"results": [
{
"action_has_custom_needs_probability": 123,
"action": {
"type": "<string>",
"key": "<string>",
"name": "<string>",
"noun": "<string>",
"description": "<string>",
"is_important": true,
"is_hidden": true,
"needs": [
{
"key": "<string>",
"type": "int",
"label": "<string>",
"required": true,
"prefill": "<string>",
"searchfill": "<string>",
"capabilities": [
"<string>"
],
"custom_field": true,
"depends_on": [
"<string>"
],
"from_search": true,
"from_write": true,
"input_format": [
"<unknown>"
],
"language": "<string>",
"parent_key": "<string>",
"send_in_json": true,
"regex": "<string>",
"alters_custom_fields": true,
"choices": [
{
"key": "<string>",
"label": "<string>",
"sample": "<string>"
}
],
"default": "<string>",
"help_text": "<string>",
"placeholder": "<string>",
"default_guessable": true,
"list": true,
"format": "<string>"
}
],
"meta": {
"hook": {
"directions": "<string>",
"is_notification": true,
"is_pollable": true,
"is_polling_notification": true,
"is_subscription": true,
"url": "<string>"
}
},
"popularity": 123,
"app_name": "<string>"
},
"action_gives": [
{
"key": "<string>",
"score": 123,
"subscore": 123,
"type": "<string>",
"label": "<string>",
"zap_meta_sample": "<unknown>",
"custom_field": false,
"important": false
}
],
"action_needs": [
{
"key": "<string>",
"type": "int",
"label": "<string>",
"required": true,
"prefill": "<string>",
"searchfill": "<string>",
"capabilities": [
"<string>"
],
"custom_field": true,
"depends_on": [
"<string>"
],
"from_search": true,
"from_write": true,
"input_format": [
"<unknown>"
],
"language": "<string>",
"parent_key": "<string>",
"send_in_json": true,
"regex": "<string>",
"alters_custom_fields": true,
"choices": [
{
"key": "<string>",
"label": "<string>",
"sample": "<string>"
}
],
"default": "<string>",
"help_text": "<string>",
"placeholder": "<string>",
"default_guessable": true,
"list": true,
"format": "<string>"
}
],
"action_sample": {}
}
]
}Get details of a specific action, including its needs, gives, and a sample of the action.
curl --request POST \
--url https://actions.zapier.com/api/v2/apps/{app}/actions/{action}/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"params": {}
}'{
"results": [
{
"action_has_custom_needs_probability": 123,
"action": {
"type": "<string>",
"key": "<string>",
"name": "<string>",
"noun": "<string>",
"description": "<string>",
"is_important": true,
"is_hidden": true,
"needs": [
{
"key": "<string>",
"type": "int",
"label": "<string>",
"required": true,
"prefill": "<string>",
"searchfill": "<string>",
"capabilities": [
"<string>"
],
"custom_field": true,
"depends_on": [
"<string>"
],
"from_search": true,
"from_write": true,
"input_format": [
"<unknown>"
],
"language": "<string>",
"parent_key": "<string>",
"send_in_json": true,
"regex": "<string>",
"alters_custom_fields": true,
"choices": [
{
"key": "<string>",
"label": "<string>",
"sample": "<string>"
}
],
"default": "<string>",
"help_text": "<string>",
"placeholder": "<string>",
"default_guessable": true,
"list": true,
"format": "<string>"
}
],
"meta": {
"hook": {
"directions": "<string>",
"is_notification": true,
"is_pollable": true,
"is_polling_notification": true,
"is_subscription": true,
"url": "<string>"
}
},
"popularity": 123,
"app_name": "<string>"
},
"action_gives": [
{
"key": "<string>",
"score": 123,
"subscore": 123,
"type": "<string>",
"label": "<string>",
"zap_meta_sample": "<unknown>",
"custom_field": false,
"important": false
}
],
"action_needs": [
{
"key": "<string>",
"type": "int",
"label": "<string>",
"required": true,
"prefill": "<string>",
"searchfill": "<string>",
"capabilities": [
"<string>"
],
"custom_field": true,
"depends_on": [
"<string>"
],
"from_search": true,
"from_write": true,
"input_format": [
"<unknown>"
],
"language": "<string>",
"parent_key": "<string>",
"send_in_json": true,
"regex": "<string>",
"alters_custom_fields": true,
"choices": [
{
"key": "<string>",
"label": "<string>",
"sample": "<string>"
}
],
"default": "<string>",
"help_text": "<string>",
"placeholder": "<string>",
"default_guessable": true,
"list": true,
"format": "<string>"
}
],
"action_sample": {}
}
]
}The app that the action belongs to.
The action to get details for.
The type of the action to get details for.
This can be:
write: Actions that have side effects (such as sending an email or updating a spreadsheet)search: Actions that return results (such as searching for a contact or getting a list of emails)read, write, search, read_bulk The Zapier account ID to use.
Account IDs available to the user can be listed using the Get Account List endpoint
ID of the authentication to use for the app.
Authentications available to the user can be listed using the List Authentications For App endpoint.
What kind of information to return with the action details.
List of:
action_needs: Include the needs of the action. These are what are provided when running the action.action_gives: Include the gives of the action. These are what the action returns when it runs.action_sample: Include a sample of the action. Note: This will dramatically slow down the response from this endpoint. Only use it if you really need the sample.action_needs, action_gives, action_sample A dictionary of key-value pairs, where the key is a need key and the value is a selected value for that need.
OK
Show child attributes
Probability this action has custom needs that vary from user to user (0.0 to 1.0). A score greater than 0.5 suggests it does.
Show child attributes
Show child attributes
int, integer, float, decimal, unicode, text, str, string, datetime, boolean, bool, file, copy, password, dict, code, filter, confirmation Show child attributes
If this exists, then it means that this action is a webhook.
Using the provided URL, you can send a POST request to it.
Show child attributes
Show child attributes
Show child attributes
int, integer, float, decimal, unicode, text, str, string, datetime, boolean, bool, file, copy, password, dict, code, filter, confirmation Was this page helpful?