Post

post.created

{
    "eventName": "post.created",
    "domainId": "a1b2c3d4e5f6",
    "domainName": "domainName",
    "webhookName": "webhookName",
    "triggerdAt": "2025-01-01T00:00:00.000Z",
    "triggerdBy": {
         "id": "c3d4e5f6a7b8",
         "nickname": "John Doe"
    },
    "data": {
        "model": "post",
        "id": "f7e8d9c0b1a2",
        "title": "post title",
        "content": "post content in markdown",
        "createdBy": {
            "id": "c3d4e5f6a7b8",
            "nickname": "John Doe"
        },
        "channel": {
            "id": "nqrx6zk255jy9",
            "name": "channel name",
        }
    }
}

post.updated

{
    "eventName": "post.updated",
    "domainId": "a1b2c3d4e5f6",
    "domainName": "domainName",
    "webhookName": "webhookName",
    "triggerdAt": "2025-01-01T00:00:00.000Z",
    "triggerdBy": {
        "id": "b2g6abab7s",
        "nickname": "Who updated the post"
    },
    "data": {
        "model": "post",
        "id": "f7e8d9c0b1a2",
        "title": "post title",
        "content": "post content in markdown",
        "createdBy": {
            "id": "c3d4e5f6a7b8",
            "nickname": "John Doe"
        },
        "channel": {
            "id": "nqrx6zk255jy9",
            "name": "channel name"
        }
    }
}

post.deleted

{
    "eventName": "post.deleted",
    "domainId": "a1b2c3d4e5f6",
    "domainName": "domainName",
    "webhookName": "webhookName",
    "triggerdAt": "2025-01-01T00:00:00.000Z",
    "triggerdBy": {
         "id": "b2g6abab7s",
         "nickname": "Who deleted the post"
    },
    "data": {
        "model": "post",
        "id": "f7e8d9c0b1a2",
        "title": "post title",
        "content": "post content in markdown",
        "createdBy": {
            "id": "c3d4e5f6a7b8",
            "nickname": "John Doe"
        },
        "channel": {
            "id": "nqrx6zk255jy9",
            "name": "channel name"
        }
    }
}

post.fields_updated

{
    "eventName": "post.fields_updated",
    "domainId": "a1b2c3d4e5f6",
    "domainName": "domainName",
    "webhookName": "webhookName",
    "triggerdAt": "2025-01-01T00:00:00.000Z",
    "triggerdBy": {
         "id": "b2g6abab7s",
         "nickname": "Who updated the post fields"
    },
    "data": {
        "model": "post",
        "id": "f7e8d9c0b1a2",
        "title": "post title",
        "content": "post content in markdown",
        "fields": {
            "status": "published",
            "category": "technology"
        },
        "createdBy": {
            "id": "c3d4e5f6a7b8",
            "nickname": "John Doe"
        },
        "channel": {
            "id": "nqrx6zk255jy9",
            "name": "channel name"
        }
    }
}