Export a captured event as a single-line bash cURL command
GET
/v1/endpoints/{endpointId}/events/{eventId}/curl
const url = 'https://api.catchbin.io/v1/endpoints/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/curl?unmasked=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.catchbin.io/v1/endpoints/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/events/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/curl?unmasked=false' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”endpointId
required
string format: uuid
eventId
required
string format: uuid
Query Parameters
Section titled “Query Parameters”unmasked
boolean
Responses
Section titled “Responses”OK
Media type*/*
object
command
string
byteIdentical
boolean
bodyOmitted
boolean
headersMasked
boolean
© 2026 catchbinevery webhook, caught. nothing lost.