# Create batch
This endpoint creates a batch for a given operation. Please note that the permission of the operation requested to be performed in batch must be included in the statement of the role of the calling user.
For more information about the format of files that can be uploaded in batch, please visit the batch file section.
In order for a user to perform the "create_batch" operation, the "create_batch" permission must be included in the list of allowed actions in the statement of the user's role.
|string||body||URL handler generated through the create_upload_url endpoint.|
|string||body||Name of the operation to be performed in batch. For a comprehensive list of operations, please see the List of endpoints section.|
|string||body||SHA-256 hash(opens new window).|
"hash" parameter is provided in the request, the method will check whether the hash provided by the user is equivalent to the hash generated for the batch. If they don't match, a copy of the batch will not be generated.
|status||string, value can be ||Status of the batch. For more details, see the Batch statuses section.|
|created_ts||timestamp||Time at which the batch was created. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).|
|updated_ts||timestamp||Time at which the batch was last updated. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window)|
|hash *||string||SHA-256 hash(opens new window).|
"hash" attribute is returned only if it was provided in the request to the endpoint.
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.