Functions

Execute Function

Execute a function by calling its webhook URL.

This endpoint acts as a proxy to avoid CORS issues when calling external webhooks from the browser.

post/v1/functions/execute

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/functions/execute
  • Auth: HTTP bearer

Request body

urlstring required

Webhook URL to call

methodstring

HTTP method

bodyobject nullable

Request body (JSON)

headersobject nullable

Custom headers

timeout_msinteger

Timeout in milliseconds

Response

Successful Response

successboolean required
status_codeinteger required
bodystring required
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.