Log and return API request data
API toolRecipe Tools
What it does
When someone sends an API request to this automation, it logs the request details to the job report. The response confirms the request was processed and returns the output list.
Who it's for
Engineering teams who need to validate API requests and track them in job logs.
How teams use this
Validate incoming API requests
Log each API request to the job report for audit and debugging. The team can review what data arrived and when without opening the API platform.
Track API calls for compliance
Keep a record of all API requests in the job report to meet audit requirements. Each request is logged with its timestamp and payload automatically.
Add request filtering before logging
Filter API requests by type or source before logging, so only relevant requests appear in the job report. Include a condition to check the request header or payload.
How it works
- Receive an API request. An API request arrives in real time, carrying the data that needs to be processed and logged.
- Log request to job report. Write the request details to the job report so the team can audit what was received and when.
- Retrieve the output list. Call the Workato Recipe Function to fetch the output list that will be sent back to the requester in the response.
- Return success response. Send the output list back to the API caller through Workato Api Platform so they know the request succeeded.