POST /rule_triggers/{rule_trigger_gid}/run
Trigger a rule which uses an "incoming web request" trigger.
Servers
- https://app.asana.com/api/1.0
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
rule_trigger_gid |
String | Yes |
The ID of the incoming web request trigger. This value is a path parameter that is automatically generated for the API endpoint. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
data |
Object | No | |
data.action_data |
Object | Yes |
The dynamic keys and values of the request. These fields are intended to be used in the action for the rule associated with this trigger. |
data.resource |
String | Yes |
The ID of the resource. For the duration of the beta, this resource is always a task, and this task must exist in the project in which the rule is created. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.