Skip to content

GET   /events/{id}/request-body

Get event request body

Retrieve the request body for a specific event

Authentication Required

Authorization: Bearer {token}   header string

This header is required to access this endpoint

Required Parameters

id   path string

Try it out

Loading...

Output:

Responses

Description

Request body retrieved

{
"body": {},
"contentType": "application/json",
"size": 142
}

References

#/components/schemas/EventRequestBody

type: object
description: The request body content logged for an API event
properties:
body:
type: object
description: The actual request body payload sent to the API
nullable: true
example:
name: John Doe
email: john@example.com
contentType:
type: string
description: Content-Type header of the request
example: application/json
size:
type: integer
description: Size of the request body in bytes
example: 142
required:
- body

Route Source Code

Check out the source code for this route entrypoint here: /events/[id]/request-body/route.ts

Or the swagger.yaml spec this documentation was generated from: /events/swagger.yaml