cURL
curl --request POST \ --url https://api.hedra.com/web-app/public/assets \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "name": "<string>", "type": "image" }'
{ "name": "<string>", "type": "image", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Successful Response
The response is of type object.
object