# Multiple mobiledoc cards

**URL:** <https://forum.ghost.org/t/multiple-mobiledoc-cards/7406>\
**Category:** Developer help\
**Created:** [May 21, 2019, 12:50am UTC](https://forum.ghost.org/t/multiple-mobiledoc-cards/7406 "2019-05-21T00:50:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Extracreative](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/extracreative/32/2801_2.png) [@Extracreative](https://forum.ghost.org/u/Extracreative)\
**Post date:** [May 21, 2019, 12:50am UTC](https://forum.ghost.org/t/multiple-mobiledoc-cards/7406/1 "2019-05-21T00:50:55Z")

</div>

Using the Admin API what is the correct format to post multiple cards using mobiledoc?  
The format below gives me an error **Invalid mobiledoc structure.**

```auto
                       let mobileDocJson = JSON.stringify({
                          version: '0.3.1',
                          markups: [],
                          atoms: [],
                          cards: [
                            ['html', { cardName: 'main', html: main_html }],
                            ['html', { cardName: 'list', html: list_html }]
                          ],
                          sections: [[10, 0]]
                      });

```

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [May 21, 2019, 3:15pm UTC](https://forum.ghost.org/t/multiple-mobiledoc-cards/7406/2 "2019-05-21T15:15:55Z")

</div>

You can create a test post using the Koenig editor and use the API or monitor network requests to see what Ghost is storing 😉

Do note that some cards are abstractions around sections (for example, dividers are `<hr />`)

Here’s a sample:

```json
{
  "version":"0.3.1",
  "atoms":[],
  "cards":[
    ["html", {"html":"<strong>This is a bold block</strong>"}],
    ["html", {"html":"<ul>\n <li>this is a ul.li block</li>\n</ul>"}]
  ],
  "markups":[],
  "sections":[[10,0],[10,1],[1,"p",[]]]
}

```

---

<div class="post-metadata">

**Author:** ![Extracreative](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/extracreative/32/2801_2.png) [@Extracreative](https://forum.ghost.org/u/Extracreative)\
**Post date:** [May 21, 2019, 7:09pm UTC](https://forum.ghost.org/t/multiple-mobiledoc-cards/7406/3 "2019-05-21T19:09:24Z")

</div>

Thank You I was missing the ‘1’ in

```auto
[10,0],[10,1]

```

I had

```auto
[10,0],[10,0]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [June 4, 2019, 7:15pm UTC](https://forum.ghost.org/t/multiple-mobiledoc-cards/7406/4 "2019-06-04T19:15:10Z")

</div>

Closed on June 4, 2019, 7:15pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
