# response.submitted

URL: /docs/api-reference/endpoints/webhooks/response.submitted

Webhook event `response.submitted`: Orvelt sends a `POST` request to your destination.

A customer submitted a response. Each answer they gave arrives as `answer.created`.

Payload version 1. `data` is a snapshot of the resource after the change.

## Request body

```json
{
  "required": true,
  "description": "The Standard Webhooks envelope Orvelt sends to your destination.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "id",
          "type",
          "timestamp",
          "data"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The event ID. A retried delivery keeps it, so deduplicate on it."
          },
          "type": {
            "type": "string",
            "enum": [
              "response.submitted"
            ],
            "description": "The event topic."
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "When the change happened."
          },
          "data": {
            "type": "object",
            "properties": {
              "responseId": {
                "type": "string",
                "format": "uuid"
              },
              "projectId": {
                "type": "string",
                "format": "uuid"
              },
              "submittedAt": {
                "type": "string",
                "format": "date-time"
              },
              "customer": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "anonymous": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "anonymous"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "externalUserId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "responseId",
              "projectId",
              "submittedAt",
              "customer"
            ],
            "additionalProperties": false
          }
        }
      }
    }
  }
}
```

## Responses

```json
{
  "2XX": {
    "description": "Acknowledge the event. Any other status, or no response in time, is retried."
  }
}
```