Skip to main content
POST
/
api
/
functions
{
"success": true,
"function": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"slug": "hello-world",
"name": "Hello World Function",
"description": "Returns a greeting message",
"status": "active",
"created_at": "2024-01-21T10:30:00Z"
}
}

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required
Minimum length: 1
Example:
code
string
required
Minimum length: 1
Example:
slug
string
Example:
description
string
Example:
status
enum<string>
default:active
Available options:
draft,
active

Response

success
boolean
function
object