RawFrame
API referenceWebhook endpoints

Create a webhook endpoint

POST
/v1/webhook_endpoints

Events are signed per the Standard Webhooks spec with the returned secret. Failed deliveries are retried 7 times over about 22 hours; an endpoint is disabled after 3 days of continuous failure or a 410 Gone. Output URLs inside events expire after an hour; fetch the generation for fresh ones. Requires the webhooks:write scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key, e.g. rf_live_3f9k2q_….

Request Body

application/json
  1. body
url*string
Match^https://
Formaturi
Lengthlength <= 2048
description?string
Lengthlength <= 200
event_types?array<>

Defaults to all event types.

Response Body

Endpoint created. secret is returned only in this response.

application/json
  1. response
object*unknown
id*string
Match^whe_
url*string
Formaturi
description?string
event_types*array<>
status*string
Value in"enabled""disabled""auto_disabled"
created_at*string
Formatdate-time
secret*string

Signing secret, whsec_….

Example Request
curl -X POST 'https://api.rawframe.dev/v1/webhook_endpoints' \  -H 'Content-Type: application/json' \  -d '{  "url": "http://example.com"}'
Example Response
{  "object": "webhook_endpoint",  "id": "string",  "url": "http://example.com",  "description": "string",  "event_types": [    "generation.succeeded"  ],  "status": "enabled",  "created_at": "2019-08-24T14:15:22Z",  "secret": "string"}