curl --request POST \
--url https://api.beta.getpara.com/v1/webhook-endpoints \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"url": "https://example.com/webhooks/para",
"events": [],
"enabled": true,
"description": "<string>",
"payloadVersion": 1
}
'import requests
url = "https://api.beta.getpara.com/v1/webhook-endpoints"
payload = {
"url": "https://example.com/webhooks/para",
"events": [],
"enabled": True,
"description": "<string>",
"payloadVersion": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://example.com/webhooks/para',
events: [],
enabled: true,
description: '<string>',
payloadVersion: 1
})
};
fetch('https://api.beta.getpara.com/v1/webhook-endpoints', 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.beta.getpara.com/v1/webhook-endpoints",
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([
'url' => 'https://example.com/webhooks/para',
'events' => [
],
'enabled' => true,
'description' => '<string>',
'payloadVersion' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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.beta.getpara.com/v1/webhook-endpoints"
payload := strings.NewReader("{\n \"url\": \"https://example.com/webhooks/para\",\n \"events\": [],\n \"enabled\": true,\n \"description\": \"<string>\",\n \"payloadVersion\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.beta.getpara.com/v1/webhook-endpoints")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://example.com/webhooks/para\",\n \"events\": [],\n \"enabled\": true,\n \"description\": \"<string>\",\n \"payloadVersion\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beta.getpara.com/v1/webhook-endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"https://example.com/webhooks/para\",\n \"events\": [],\n \"enabled\": true,\n \"description\": \"<string>\",\n \"payloadVersion\": 1\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "9a3d5f2e-1b4c-48d0-9e7a-3c2b1f4e5d6a",
"url": "https://example.com/webhooks/para",
"events": [
"user.created"
],
"enabled": true,
"description": "Production billing receiver",
"payloadVersion": 1,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}
}Create webhook endpoint
Create a new webhook endpoint for the calling API key and generate a whsec_-prefixed signing secret.
The secret is returned once in the response body. Store it immediately; it cannot be read again except by replaying the same Idempotency-Key within 24 hours before the endpoint is deleted or rotated.
Each API key can have up to 10 active webhook endpoints. Creating an 11th endpoint returns 400.
URLs must use HTTPS, be 2048 characters or fewer, resolve over DNS, and not target localhost, private or internal IP ranges, or cloud metadata endpoints.
Configuration mutations share a per-key rate limit of 10 requests per minute.
curl --request POST \
--url https://api.beta.getpara.com/v1/webhook-endpoints \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"url": "https://example.com/webhooks/para",
"events": [],
"enabled": true,
"description": "<string>",
"payloadVersion": 1
}
'import requests
url = "https://api.beta.getpara.com/v1/webhook-endpoints"
payload = {
"url": "https://example.com/webhooks/para",
"events": [],
"enabled": True,
"description": "<string>",
"payloadVersion": 1
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://example.com/webhooks/para',
events: [],
enabled: true,
description: '<string>',
payloadVersion: 1
})
};
fetch('https://api.beta.getpara.com/v1/webhook-endpoints', 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.beta.getpara.com/v1/webhook-endpoints",
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([
'url' => 'https://example.com/webhooks/para',
'events' => [
],
'enabled' => true,
'description' => '<string>',
'payloadVersion' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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.beta.getpara.com/v1/webhook-endpoints"
payload := strings.NewReader("{\n \"url\": \"https://example.com/webhooks/para\",\n \"events\": [],\n \"enabled\": true,\n \"description\": \"<string>\",\n \"payloadVersion\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.beta.getpara.com/v1/webhook-endpoints")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"https://example.com/webhooks/para\",\n \"events\": [],\n \"enabled\": true,\n \"description\": \"<string>\",\n \"payloadVersion\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.beta.getpara.com/v1/webhook-endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"https://example.com/webhooks/para\",\n \"events\": [],\n \"enabled\": true,\n \"description\": \"<string>\",\n \"payloadVersion\": 1\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "9a3d5f2e-1b4c-48d0-9e7a-3c2b1f4e5d6a",
"url": "https://example.com/webhooks/para",
"events": [
"user.created"
],
"enabled": true,
"description": "Production billing receiver",
"payloadVersion": 1,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}
}Authorizations
Headers
Optional idempotency key for safe retries when issuing a webhook signing secret.
If the same key and request are retried within 24 hours while the endpoint is still active and its secret has not been rotated again, Para replays the original response (including the secret) with X-Idempotent-Replayed: true.
Returns 422 if reused with a different request path or body, or 409 if the original request is still in flight (CONFLICT) or the endpoint was deleted or rotated after the key was used (IDEMPOTENCY_CONFLICT).
256Body
One or more subscribable event types. Duplicate entries are deduplicated.
1Webhook event types that an endpoint can subscribe to.
user.created, wallet.created, transaction.signed, send.broadcasted, send.confirmed, send.failed, rest.transaction.confirmed, rest.transaction.failed, wallet.pregen_claimed, user.external_wallet_verified, onramp.completed, user.two_factor_reset, funds.received, approval.pending, approval.approved, approval.rejected, approval.executed, approval.expired, approval.failed, rest.transaction.broadcasted, rest.transaction.still_pending, rest.transaction.reverted, rest.transaction.replaced, send.still_pending, send.reverted, send.replaced, user.authenticated, user.account_linked, user.account_unlinked, user.two_factor_enabled, user.two_factor_removed, wallet.recovery_started, wallet.recovered, funds.sent, policy.activated, policy.archived, consent.granted, consent.revoked, onramp.cancelled, user.merged, wallet.private_key_exported