Functions

Create Function

post/v1/functions

Request

  • Base URL: https://api.withasync.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.withasync.com/v1/functions
  • Auth: none declared

Headers

authorizationstring nullable

Request body

organization_idstring uuid required
slugstring required
namestring required
descriptionstring nullable
documentation_markdownstring nullable
trigger_type'cron' | 'webhook' required
trigger_configobject
sourcestring required
configobject
secret_refsobject
is_activeboolean

Response

Successful Response

idstring uuid required
organization_idstring uuid required
slugstring required
namestring required
descriptionstring nullable
documentation_markdownstring nullable
trigger_type'cron' | 'webhook' required
trigger_configobject
sourcestring required
configobject
secret_refsobject
is_activeboolean
next_run_atstring date-time nullable
last_run_atstring date-time nullable
last_run_statusstring nullable
created_atstring date-time required

Changes

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