Consultar entrega de webhook
curl --request GET \
--url https://api.ephra.io/v1/webhook-deliveries/{deliveryId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ephra.io/v1/webhook-deliveries/{deliveryId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ephra.io/v1/webhook-deliveries/{deliveryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ephra.io/v1/webhook-deliveries/{deliveryId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ephra.io/v1/webhook-deliveries/{deliveryId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ephra.io/v1/webhook-deliveries/{deliveryId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ephra.io/v1/webhook-deliveries/{deliveryId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "clx9f1m2p0004qz0a7h8i9j0k",
"transactionId": "clx9e0k1n0002qz0a5f6g7h8i",
"type": "transaction",
"event": "transaction_paid",
"eventType": "transaction.paid",
"status": "error",
"url": "https://erp.minhaloja.com.br/integracoes/ephra",
"retries": 3,
"createdAt": "2026-09-10T14:22:05.000Z",
"updatedAt": "2026-09-10T14:38:41.000Z",
"payload": {
"event": "transaction.paid",
"data": {
"id": "clx9e0k1n0002qz0a5f6g7h8i",
"amount": 49900,
"status": "paid",
"paymentMethod": "pix",
"customer": {
"name": "Marina Ribeiro",
"document": "123.456.789-09",
"email": "marina.ribeiro@exemplo.com.br"
}
}
},
"attempts": [
{
"id": 90114,
"httpStatus": 500,
"response": {
"error": "internal server error"
},
"attemptedAt": "2026-09-10T14:22:07.000Z"
},
{
"id": 90118,
"httpStatus": 502,
"response": "Bad Gateway",
"attemptedAt": "2026-09-10T14:38:41.000Z"
}
]
}
}{
"success": false,
"message": "Token inválido ou expirado"
}{
"success": false,
"message": "Recurso não encontrado"
}{
"success": false,
"message": "name: Nome é obrigatório"
}{
"success": false,
"message": "Muitas requisições. Tente novamente em breve."
}{
"success": false,
"message": "Erro interno do servidor"
}Plataforma
Consultar entrega de webhook
Devolve o payload que a Ephra enviou, o status HTTP e o corpo que o seu servidor respondeu em cada tentativa. É por aqui que se descobre se a falha foi da notificação ou do endpoint. Responde 404 quando a entrega não existe ou é de outra empresa.
GET
/
v1
/
webhook-deliveries
/
{deliveryId}
Consultar entrega de webhook
curl --request GET \
--url https://api.ephra.io/v1/webhook-deliveries/{deliveryId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ephra.io/v1/webhook-deliveries/{deliveryId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ephra.io/v1/webhook-deliveries/{deliveryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ephra.io/v1/webhook-deliveries/{deliveryId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ephra.io/v1/webhook-deliveries/{deliveryId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ephra.io/v1/webhook-deliveries/{deliveryId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ephra.io/v1/webhook-deliveries/{deliveryId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "clx9f1m2p0004qz0a7h8i9j0k",
"transactionId": "clx9e0k1n0002qz0a5f6g7h8i",
"type": "transaction",
"event": "transaction_paid",
"eventType": "transaction.paid",
"status": "error",
"url": "https://erp.minhaloja.com.br/integracoes/ephra",
"retries": 3,
"createdAt": "2026-09-10T14:22:05.000Z",
"updatedAt": "2026-09-10T14:38:41.000Z",
"payload": {
"event": "transaction.paid",
"data": {
"id": "clx9e0k1n0002qz0a5f6g7h8i",
"amount": 49900,
"status": "paid",
"paymentMethod": "pix",
"customer": {
"name": "Marina Ribeiro",
"document": "123.456.789-09",
"email": "marina.ribeiro@exemplo.com.br"
}
}
},
"attempts": [
{
"id": 90114,
"httpStatus": 500,
"response": {
"error": "internal server error"
},
"attemptedAt": "2026-09-10T14:22:07.000Z"
},
{
"id": 90118,
"httpStatus": 502,
"response": "Bad Gateway",
"attemptedAt": "2026-09-10T14:38:41.000Z"
}
]
}
}{
"success": false,
"message": "Token inválido ou expirado"
}{
"success": false,
"message": "Recurso não encontrado"
}{
"success": false,
"message": "name: Nome é obrigatório"
}{
"success": false,
"message": "Muitas requisições. Tente novamente em breve."
}{
"success": false,
"message": "Erro interno do servidor"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Identificador da entrega.
Minimum string length:
1⌘I
