Test Webhook
curl --request POST \
--url https://api.ship.uniuni.com/prod/webhook/test \
--header 'Content-Type: application/json' \
--data '
{
"event": "shipment.status_updated",
"data": {
"address": {
"address1": "123 Main St",
"address2": "Suite 100",
"city": "Vancouver",
"province": "BC",
"postalCode": "V6B 1A1",
"country": "CA"
},
"status": "DELIVERED",
"statusCode": 203,
"trackingId": "UR11170000000023641",
"updatedAt": "2025-11-28T00:05:25.917Z",
"proofOfDelivery": {
"recipient": "John Doe",
"deliveryDate": "2025-11-28",
"deliveryTime": "00:05:25",
"pods": [
"https://delivery-service-api.uniuni.ca/images/abcd001",
"https://delivery-service-api.uniuni.ca/images/abcd002"
]
}
}
}
'import requests
url = "https://api.ship.uniuni.com/prod/webhook/test"
payload = {
"event": "shipment.status_updated",
"data": {
"address": {
"address1": "123 Main St",
"address2": "Suite 100",
"city": "Vancouver",
"province": "BC",
"postalCode": "V6B 1A1",
"country": "CA"
},
"status": "DELIVERED",
"statusCode": 203,
"trackingId": "UR11170000000023641",
"updatedAt": "2025-11-28T00:05:25.917Z",
"proofOfDelivery": {
"recipient": "John Doe",
"deliveryDate": "2025-11-28",
"deliveryTime": "00:05:25",
"pods": ["https://delivery-service-api.uniuni.ca/images/abcd001", "https://delivery-service-api.uniuni.ca/images/abcd002"]
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'shipment.status_updated',
data: {
address: {
address1: '123 Main St',
address2: 'Suite 100',
city: 'Vancouver',
province: 'BC',
postalCode: 'V6B 1A1',
country: 'CA'
},
status: 'DELIVERED',
statusCode: 203,
trackingId: 'UR11170000000023641',
updatedAt: '2025-11-28T00:05:25.917Z',
proofOfDelivery: {
recipient: 'John Doe',
deliveryDate: '2025-11-28',
deliveryTime: '00:05:25',
pods: [
'https://delivery-service-api.uniuni.ca/images/abcd001',
'https://delivery-service-api.uniuni.ca/images/abcd002'
]
}
}
})
};
fetch('https://api.ship.uniuni.com/prod/webhook/test', 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.ship.uniuni.com/prod/webhook/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'shipment.status_updated',
'data' => [
'address' => [
'address1' => '123 Main St',
'address2' => 'Suite 100',
'city' => 'Vancouver',
'province' => 'BC',
'postalCode' => 'V6B 1A1',
'country' => 'CA'
],
'status' => 'DELIVERED',
'statusCode' => 203,
'trackingId' => 'UR11170000000023641',
'updatedAt' => '2025-11-28T00:05:25.917Z',
'proofOfDelivery' => [
'recipient' => 'John Doe',
'deliveryDate' => '2025-11-28',
'deliveryTime' => '00:05:25',
'pods' => [
'https://delivery-service-api.uniuni.ca/images/abcd001',
'https://delivery-service-api.uniuni.ca/images/abcd002'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ship.uniuni.com/prod/webhook/test"
payload := strings.NewReader("{\n \"event\": \"shipment.status_updated\",\n \"data\": {\n \"address\": {\n \"address1\": \"123 Main St\",\n \"address2\": \"Suite 100\",\n \"city\": \"Vancouver\",\n \"province\": \"BC\",\n \"postalCode\": \"V6B 1A1\",\n \"country\": \"CA\"\n },\n \"status\": \"DELIVERED\",\n \"statusCode\": 203,\n \"trackingId\": \"UR11170000000023641\",\n \"updatedAt\": \"2025-11-28T00:05:25.917Z\",\n \"proofOfDelivery\": {\n \"recipient\": \"John Doe\",\n \"deliveryDate\": \"2025-11-28\",\n \"deliveryTime\": \"00:05:25\",\n \"pods\": [\n \"https://delivery-service-api.uniuni.ca/images/abcd001\",\n \"https://delivery-service-api.uniuni.ca/images/abcd002\"\n ]\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ship.uniuni.com/prod/webhook/test")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"shipment.status_updated\",\n \"data\": {\n \"address\": {\n \"address1\": \"123 Main St\",\n \"address2\": \"Suite 100\",\n \"city\": \"Vancouver\",\n \"province\": \"BC\",\n \"postalCode\": \"V6B 1A1\",\n \"country\": \"CA\"\n },\n \"status\": \"DELIVERED\",\n \"statusCode\": 203,\n \"trackingId\": \"UR11170000000023641\",\n \"updatedAt\": \"2025-11-28T00:05:25.917Z\",\n \"proofOfDelivery\": {\n \"recipient\": \"John Doe\",\n \"deliveryDate\": \"2025-11-28\",\n \"deliveryTime\": \"00:05:25\",\n \"pods\": [\n \"https://delivery-service-api.uniuni.ca/images/abcd001\",\n \"https://delivery-service-api.uniuni.ca/images/abcd002\"\n ]\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ship.uniuni.com/prod/webhook/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"shipment.status_updated\",\n \"data\": {\n \"address\": {\n \"address1\": \"123 Main St\",\n \"address2\": \"Suite 100\",\n \"city\": \"Vancouver\",\n \"province\": \"BC\",\n \"postalCode\": \"V6B 1A1\",\n \"country\": \"CA\"\n },\n \"status\": \"DELIVERED\",\n \"statusCode\": 203,\n \"trackingId\": \"UR11170000000023641\",\n \"updatedAt\": \"2025-11-28T00:05:25.917Z\",\n \"proofOfDelivery\": {\n \"recipient\": \"John Doe\",\n \"deliveryDate\": \"2025-11-28\",\n \"deliveryTime\": \"00:05:25\",\n \"pods\": [\n \"https://delivery-service-api.uniuni.ca/images/abcd001\",\n \"https://delivery-service-api.uniuni.ca/images/abcd002\"\n ]\n }\n }\n}"
response = http.request(request)
puts response.read_bodyWebhooks
Test Webhook
Sends a test webhook payload to your configured webhook endpoint to verify your integration.
POST
/
webhook
/
test
Test Webhook
curl --request POST \
--url https://api.ship.uniuni.com/prod/webhook/test \
--header 'Content-Type: application/json' \
--data '
{
"event": "shipment.status_updated",
"data": {
"address": {
"address1": "123 Main St",
"address2": "Suite 100",
"city": "Vancouver",
"province": "BC",
"postalCode": "V6B 1A1",
"country": "CA"
},
"status": "DELIVERED",
"statusCode": 203,
"trackingId": "UR11170000000023641",
"updatedAt": "2025-11-28T00:05:25.917Z",
"proofOfDelivery": {
"recipient": "John Doe",
"deliveryDate": "2025-11-28",
"deliveryTime": "00:05:25",
"pods": [
"https://delivery-service-api.uniuni.ca/images/abcd001",
"https://delivery-service-api.uniuni.ca/images/abcd002"
]
}
}
}
'import requests
url = "https://api.ship.uniuni.com/prod/webhook/test"
payload = {
"event": "shipment.status_updated",
"data": {
"address": {
"address1": "123 Main St",
"address2": "Suite 100",
"city": "Vancouver",
"province": "BC",
"postalCode": "V6B 1A1",
"country": "CA"
},
"status": "DELIVERED",
"statusCode": 203,
"trackingId": "UR11170000000023641",
"updatedAt": "2025-11-28T00:05:25.917Z",
"proofOfDelivery": {
"recipient": "John Doe",
"deliveryDate": "2025-11-28",
"deliveryTime": "00:05:25",
"pods": ["https://delivery-service-api.uniuni.ca/images/abcd001", "https://delivery-service-api.uniuni.ca/images/abcd002"]
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'shipment.status_updated',
data: {
address: {
address1: '123 Main St',
address2: 'Suite 100',
city: 'Vancouver',
province: 'BC',
postalCode: 'V6B 1A1',
country: 'CA'
},
status: 'DELIVERED',
statusCode: 203,
trackingId: 'UR11170000000023641',
updatedAt: '2025-11-28T00:05:25.917Z',
proofOfDelivery: {
recipient: 'John Doe',
deliveryDate: '2025-11-28',
deliveryTime: '00:05:25',
pods: [
'https://delivery-service-api.uniuni.ca/images/abcd001',
'https://delivery-service-api.uniuni.ca/images/abcd002'
]
}
}
})
};
fetch('https://api.ship.uniuni.com/prod/webhook/test', 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.ship.uniuni.com/prod/webhook/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'shipment.status_updated',
'data' => [
'address' => [
'address1' => '123 Main St',
'address2' => 'Suite 100',
'city' => 'Vancouver',
'province' => 'BC',
'postalCode' => 'V6B 1A1',
'country' => 'CA'
],
'status' => 'DELIVERED',
'statusCode' => 203,
'trackingId' => 'UR11170000000023641',
'updatedAt' => '2025-11-28T00:05:25.917Z',
'proofOfDelivery' => [
'recipient' => 'John Doe',
'deliveryDate' => '2025-11-28',
'deliveryTime' => '00:05:25',
'pods' => [
'https://delivery-service-api.uniuni.ca/images/abcd001',
'https://delivery-service-api.uniuni.ca/images/abcd002'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.ship.uniuni.com/prod/webhook/test"
payload := strings.NewReader("{\n \"event\": \"shipment.status_updated\",\n \"data\": {\n \"address\": {\n \"address1\": \"123 Main St\",\n \"address2\": \"Suite 100\",\n \"city\": \"Vancouver\",\n \"province\": \"BC\",\n \"postalCode\": \"V6B 1A1\",\n \"country\": \"CA\"\n },\n \"status\": \"DELIVERED\",\n \"statusCode\": 203,\n \"trackingId\": \"UR11170000000023641\",\n \"updatedAt\": \"2025-11-28T00:05:25.917Z\",\n \"proofOfDelivery\": {\n \"recipient\": \"John Doe\",\n \"deliveryDate\": \"2025-11-28\",\n \"deliveryTime\": \"00:05:25\",\n \"pods\": [\n \"https://delivery-service-api.uniuni.ca/images/abcd001\",\n \"https://delivery-service-api.uniuni.ca/images/abcd002\"\n ]\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.ship.uniuni.com/prod/webhook/test")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"shipment.status_updated\",\n \"data\": {\n \"address\": {\n \"address1\": \"123 Main St\",\n \"address2\": \"Suite 100\",\n \"city\": \"Vancouver\",\n \"province\": \"BC\",\n \"postalCode\": \"V6B 1A1\",\n \"country\": \"CA\"\n },\n \"status\": \"DELIVERED\",\n \"statusCode\": 203,\n \"trackingId\": \"UR11170000000023641\",\n \"updatedAt\": \"2025-11-28T00:05:25.917Z\",\n \"proofOfDelivery\": {\n \"recipient\": \"John Doe\",\n \"deliveryDate\": \"2025-11-28\",\n \"deliveryTime\": \"00:05:25\",\n \"pods\": [\n \"https://delivery-service-api.uniuni.ca/images/abcd001\",\n \"https://delivery-service-api.uniuni.ca/images/abcd002\"\n ]\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ship.uniuni.com/prod/webhook/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"shipment.status_updated\",\n \"data\": {\n \"address\": {\n \"address1\": \"123 Main St\",\n \"address2\": \"Suite 100\",\n \"city\": \"Vancouver\",\n \"province\": \"BC\",\n \"postalCode\": \"V6B 1A1\",\n \"country\": \"CA\"\n },\n \"status\": \"DELIVERED\",\n \"statusCode\": 203,\n \"trackingId\": \"UR11170000000023641\",\n \"updatedAt\": \"2025-11-28T00:05:25.917Z\",\n \"proofOfDelivery\": {\n \"recipient\": \"John Doe\",\n \"deliveryDate\": \"2025-11-28\",\n \"deliveryTime\": \"00:05:25\",\n \"pods\": [\n \"https://delivery-service-api.uniuni.ca/images/abcd001\",\n \"https://delivery-service-api.uniuni.ca/images/abcd002\"\n ]\n }\n }\n}"
response = http.request(request)
puts response.read_body¿Esta página le ayudó?
⌘I