Creates a new script entry for the authenticated user.
scripts table, associated with a specific folder and the authenticated user. This endpoint requires at least a ‘Basic’ plan.
Bearer YOUR_JWT_TOKENscripts table.| Status Code | Description | Example Message |
|---|---|---|
| 400 | Missing required fields (name, text, folder_id). | ”Missing required fields” |
| 401 | Invalid or missing authentication token. | ”Unauthorized” |
| 403 | User is on the ‘Free’ plan. | ”Please upgrade your plan to access this feature.” |
| 500 | Internal server error during processing. | ”Failed to create script” |
| 500 | Database error during insert. | Specific DB error |
scripts table exists.Bearer token for authentication (JWT)