cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/impulse/get-new-block-id \ --header 'x-api-key: <api-key>'
{ "success": true, "error": "<string>", "blockId": 123 }
Returns an unused block ID. Use this function to determine new block IDs when you construct an impulse; so you won’t accidentally re-use block IDs.
Project ID
OK
The response is of type object.
object