For the pro Javascript users - help?

Hoping to get help on this

this is an array and I am struggling to put this into the body of a Post API call. Any advice on how I could do this?

patient_phone_numbers: [
{
phone_type: 'Mobile',
number: '0-123-456-78'
}
]
})

I've tried doing this directly under 'Raw' but it's not working cuz obviously, I don't know what I am missing lol. I'm getting 400 bad request
image.png
Was this page helpful?