Retrieve a Webhook Endpoint
GET
/v1/webhook_endpoints/{id}
const url = 'https://api.parasta.io/v1/webhook_endpoints/example';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.parasta.io/v1/webhook_endpoints/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
required
string
url
required
string format: uri
enabled_events
required
Array<string>
secret_preview
required
First 8 chars of the signing secret. Full secret only shown on POST.
string
status
required
string
created
string format: date-time
Example
{ "id": "we_abc123", "enabled_events": [ "payment.created" ], "status": "enabled"}Object not found
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
string
Example
{ "error": { "type": "authentication_error" }}