Custom code
Custom code in API v3: list custom code blocks, create a custom code block, retrieve a custom code block, update a custom code block, delete a custom code block.
5 operations.
| Operation | Summary |
|---|---|
GET /settings/custom-code | List custom code blocks |
POST /settings/custom-code | Create a custom code block |
GET /settings/custom-code/{custom_code_id} | Retrieve a custom code block |
PATCH /settings/custom-code/{custom_code_id} | Update a custom code block |
DELETE /settings/custom-code/{custom_code_id} | Delete a custom code block |
Support settings
Previous Page
List custom code blocks GET
Returns the metadata of the account's custom code blocks, using cursor-based pagination. By default, only blocks that are not in the trash are returned. Set `deleted=true` to list only blocks in the trash. The `content` object is never included in this collection. To read a block's code, use the retrieve operation with the `custom_code.read_content` permission.