Trying to capture sales invoice items via a webhook i created in ERPNEXT

This is what am doing.
“items”: “{{doc.items | string}}”,

How can i do it correctly?

This is the full request body

In case someone runs into this problem.

I solved it by hitting this end point http://{your.domain}/api/resource/Sales%20Invoice/{invoice.number}.
Just ensure you make an Api user in user settings then under that user generate an Api key.

and hit the end point using these headers.

Authorization: Token Public Key : Secrete Key