Send a test event
Send one signed `test` event to your webhook now. One attempt, no retry, logged in the delivery log. Carries no domain name. 404 when no webhook is set.
/api/v1/my-domains/webhook/testSend one signed `test` event to your webhook now. One attempt, no retry, logged in the delivery log. Carries no domain name. 404 when no webhook is set.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query parameters
idstringA webhook id. Left out, the oldest webhook is used.
Responses
`delivered`, `status`, `error`, `delivery_id`.
Something refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredSomething refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredSomething refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredSomething refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredSomething refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredSomething refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredSomething refused the request. Every value of `error.code`, and of the `reveal_code` / `hold_code` a refused write adds, is enumerated in the schema — read them there rather than from this sentence. A 429 carries `Retry-After` alongside the same `X-RateLimit-*` headers every other response has. A 405 carries `Allow`.
errorobjectrequiredcurl --request POST \
--url "https://getrevised.com/api/v1/my-domains/webhook/test" \
--header "Authorization: Bearer YOUR_API_KEY"const res = await fetch("https://getrevised.com/api/v1/my-domains/webhook/test", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY"
},
});
const data = await res.json();import requests
headers = {
"Authorization": "Bearer YOUR_API_KEY",
}
r = requests.post("https://getrevised.com/api/v1/my-domains/webhook/test", headers=headers)
r.raise_for_status()
data = r.json(){}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}{
"error": {
"available_at": "2023-11-07T05:31:56Z",
"code": "conflict",
"credits_needed": 123,
"credits_remaining": 123,
"ended_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"hold_code": "ALREADY_EXTENDED",
"limit": 123,
"message": "<string>",
"outcome": "expired",
"resets_at": "2023-11-07T05:31:56Z",
"reveal_code": "FEATURED_REQUIRES_PRO"
}
}