Complete the code to define a webhook payload with an event type.
{
"event": "[1]"
}The event type should be a clear, dot-separated string like user.created to indicate the event.
Complete the code to include a timestamp in ISO 8601 format in the webhook payload.
{
"timestamp": "[1]"
}The timestamp should be in ISO 8601 format, like 2023-04-01T12:00:00Z, which is standard for webhooks.
Fix the error in the webhook payload by completing the missing key for user data.
{
"user": [1]
}The user data should be a JSON object with keys and values, like {"id": 123, "name": "Alice"}.
Fill both blanks to add a nested address object with city and zip code.
{
"address": {
"city": "[1]",
"zip": "[2]"
}
}The city should be a string like New York and the zip code a string like 10001.
Fill all three blanks to create a payload with event, user id, and active status.
{
"event": "[1]",
"user": {
"id": [2],
"active": [3]
}
}The event is a string without quotes in the blank because quotes are in code, user id is a number, and active is a boolean true.