# POST /scheduled-tasks.json **POST /scheduled-tasks.json** ## Servers - http://api.example.com/v1: http://api.example.com/v1 () ## Authentication methods - Bearer auth ## Parameters ### Body: application/json (object) - **duration** (integer(int32) | null) Duration - **foreignKey** (integer(int32)) Foreign key - **message** (string | null) Message - **script** (string) Script - **status** (string | null) Status - **table** (string) Table ## Responses ### 200 Successful response #### Body: application/json (object) - **createdAt** (string(date-time)) Created at - **duration** (integer(int32) | null) Duration - **foreignKey** (integer(int32)) Foreign key - **id** (integer(int32)) Id - **message** (string | null) Message - **script** (string) Script - **status** (string | null) Status - **table** (string) Table - **updatedAt** (string(date-time)) Updated at [Powered by Bump.sh](https://bump.sh)