Rippling: Create a new function — request body — body
Create a new function: request body, field body. Complete fields and constraints for contract 2026-10-28.
API reference · Contract 2026-10-28
SDK schema: Create a new function — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
api_name | string | Optional | The API name of the function |
code_draft | string | Optional | The current draft of code for the function |
dependencies | object | Optional | The dependencies of the function |
description | string | Optional | The function description |
is_async | boolean | Optional | Whether this function runs asynchronously |
name | string | Optional | The function name |
source_upload | object | Optional | Optional source ZIP checksum and size for request functions only. Create or update returns ephemeral source_upload_instructions; this input is not returned. |
source_upload.sha256 | string | Required within parent | SHA-256 of the exact ZIP bytes, written as 64 lowercase hexadecimal characters. |
source_upload.size_bytes | integer | Required within parent | Exact ZIP size in bytes, from 1 through 67108864 (64 MiB). |
type | string | Optional | Function type at creation. Defaults to event and cannot be changed afterward. One of: event, request |