# Send
curl -X POST https://api.usenaive.ai/v1/queue/<id>/messages \
-H "Authorization: Bearer $NAIVE_KEY" -H "Content-Type: application/json" \
-d '{ "body": "{\"task\":\"resize\"}" }'
# Receive (long-poll) — each message includes a receipt_handle
curl "https://api.usenaive.ai/v1/queue/<id>/messages?max=10&wait=20" \
-H "Authorization: Bearer $NAIVE_KEY"
# Ack once processed
curl -X DELETE "https://api.usenaive.ai/v1/queue/<id>/messages?receipt_handle=<rh>" \
-H "Authorization: Bearer $NAIVE_KEY"