project.resource.created
New resource registered under a project.
When this fires
A creator registers a new resource on the project — a manual perk (REST/MCP only; the dashboard's resource form calls the service directly and emits nothing).
Required ability
project-resource:view — token must carry this at mint time to subscribe an endpoint to this event.
Payload
{
"id": "evt_01HX...",
"type": "project.resource.created",
"created_at": "2026-05-18T10:05:00Z",
"api_version": "2026-05-01",
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"data": {
"resource": {
"id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",
"title": "Research Premium Lounge",
"type": "manual",
"chat_id": null,
"active": true
}
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always project.resource.created for this event. |
created_at | ISO 8601 timestamp | Server-side emission time. |
api_version | string | Webhook API contract version. |
project_id | string UUID | Project this event belongs to. |
data.resource.id | string UUID | Resource identifier. |
data.resource.title | string | Display title. |
data.resource.type | enum: manual | Always manual on this event. Channel / group / supergroup resources appear via project.resource.linked. |
data.resource.chat_id | string UUID, nullable | UUID of the linked Telegram chat record, not Telegram's own numeric chat id. Always null here — the create path never accepts a chat id. |
data.resource.active | boolean | Active flag at creation time. |
The resource description is not included in the payload. Fetch it with GET /v1/projects/{project}/resources/{resource} if you need it.
Caveats
project.resource.linkedis not a follow-up to this event — it creates its own resource row and carries a differentresource_id.- Manual perks (
type: "manual") carry no chat id and are not linkable; they appear once on creation and once on deletion.
Related events
project.resource.linked— Telegram chat is bound after creation.project.resource.deleted— terminal state for a resource.- Project events overview — back to family overview.
How is this guide?