cURL
Functions
Create function
Create a new serverless function
POST
cURL
Authorizations
App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations
Body
application/json
Response
Create a new function
Unique identifier for a Function. Format: fn_[test_]{ksuid}
Pattern:
^fn_(?:test_)?[a-zA-Z0-9]{27}$Example:
"fn_2DbBs7GWhGvVNJGrDXr5RG0mBWI"
Function slug identifier
Example:
"my-function"
Human-readable name of the function
Example:
"My Function"
Description of the function
Example:
"A function that does something useful"
When the function was created
Example:
"2021-08-01T00:00:00Z"
When the function was last updated
Example:
"2021-08-01T00:00:00Z"