cURL
curl --request POST \ --url https://api.wetrocloud.com/v1/collection/create/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form 'collection_id=<unique_id>'
{ "collection_id": "72b52a94-9dba-40eb-8018-dc425d173d00", "success": true }
This endpoint allows you to create a new collection_id.
The response will be a JSON object with the following properties:
collection_id (string): The ID of the created item.
collection_id
success (boolean): Indicates whether the item creation was successful.
success
"<unique_id>"
Created
The response is of type object.
object