Actions14
- Actor Actions
- Actor Task Actions
- Actor Run Actions
- Dataset Actions
- Key-Value Store Actions
Actor → Send Server Actor Request
AI-generatedSummary
Send an HTTP request to a specified Apify Server Actor's endpoint with customizable method, path, query parameters, and optional JSON body, then return the response data.
Inputs
- Actor Source — Choose whether to select the Actor from your recently used Actors or browse Apify Store.
- Actor (required) — Specify the Server Actor to send the request to, either by selecting from a list, by URL, or by Actor ID (format: "username~actor-name" or plain Actor ID).
- Method (required) — HTTP method to use for the request (GET, POST, PUT, PATCH, DELETE).
- Path (required) — Path on the Actor's server to send the request to, starting with '/'.
- Query Parameters — Query parameters for the request as a JSON object, e.g. {"limit": 10}.
- Body — JSON request body applicable for POST, PUT, PATCH, and DELETE methods.
- Authentication (required) — Authentication method to use for the request, either API Key or OAuth2.
Output shape
The operation returns the response from the Server Actor endpoint, which can be JSON data or other content based on the request and response.
The response content type is handled dynamically and returned accordingly. The request supports all main HTTP methods and allows sending query parameters and JSON body data where appropriate. Authentication is required and can be chosen between API key or OAuth2.
Examples
Example 1: Send a GET request with query parameters to an Actor endpoint
Select the Actor, choose GET method, specify the endpoint path starting with '/', and provide any query parameters as JSON.
Example 2: Send a POST request with JSON body to an Actor endpoint
Select the Actor, choose POST method, specify the endpoint path, and enter the JSON request body; the flow uses API key or OAuth2 for authentication.