You can use the cURL examples in our API docs for bash example code: https://developers.clicksend.com/docs/rest/v3/#introduction