Title: Sending Nested Array in JSON Format
Last modified: October 7, 2024

---

# Sending Nested Array in JSON Format

 *  Resolved [adamverity](https://wordpress.org/support/users/adamverity/)
 * (@adamverity)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/sending-nested-array-in-json-format/)
 * Hey everyone,
 * Take a look at this image please -> [https://ibb.co/2ZhvSC6](https://ibb.co/2ZhvSC6)
 * How can I setup the fields so the sent format would be the following instead?
 *     ```wp-block-code
       {    "email": "example@example.com",    "customFields": [      {        "key": "InviteCode",        "value": "ABC123"      }    ]}
       ```
   
 * Thanks all!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Uncanny Automator](https://wordpress.org/support/users/uncannyautomator/)
 * (@uncannyautomator)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/sending-nested-array-in-json-format/#post-18058726)
 * Hi [@adamverity](https://wordpress.org/support/users/adamverity/) ,
 * Try adding the index (/0/) to each customField, like this:
 * `customFields/0/value`
   `customFields/0/key`
 * Here’s a screenshot that might help: [https://share.cleanshot.com/HypjsBtj](https://share.cleanshot.com/HypjsBtj)
 *  Thread Starter [adamverity](https://wordpress.org/support/users/adamverity/)
 * (@adamverity)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/sending-nested-array-in-json-format/#post-18058763)
 * Worked like a charm! Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sending Nested Array in JSON Format’ is closed to new replies.

 * ![](https://ps.w.org/uncanny-automator/assets/icon.svg?rev=2769432)
 * [Uncanny Automator - Easy Automation, Integration, Webhooks & Workflow Builder Plugin](https://wordpress.org/plugins/uncanny-automator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uncanny-automator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uncanny-automator/)
 * [Active Topics](https://wordpress.org/support/plugin/uncanny-automator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uncanny-automator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uncanny-automator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [adamverity](https://wordpress.org/support/users/adamverity/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/sending-nested-array-in-json-format/#post-18058763)
 * Status: resolved