Custom API Call
, to enable this action for a piece, you need to call the createCustomApiCallAction
in your actions array.
Basic Example
The example below implements the action for the OpenAI piece. The OpenAI piece uses aBearer token
authorization header to identify the user sending the request.