Apiary Embed (raw code) macro
Renders an Apiary API Project from the exact embed script Apiary generates for it.| Field | Required | Notes |
|---|---|---|
| Height | Yes | Fixed iframe height for the embed, e.g. 1048px. Default: 1048px |
| Embed code | Yes | The full snippet from Apiary’s embed generator, pasted as-is — for example var embed = new Apiary.Embed({"subdomain": "pollsapi"});. Not validated — invalid code fails silently in the viewer |

Apiary Embed (generate code) macro
Builds the embed for you from a subdomain and a set of display toggles, instead of requiring the raw script.| Field | Required | Notes |
|---|---|---|
| Height | Yes | Fixed iframe height for the embed. Default: 1048px |
| Subdomain | Yes | The API Project’s subdomain, set in the Apiary project’s settings |
| Show Console (Basics) | No | Default: on. Shows the request console in the machine column |
| Display HTTP Methods (Basics) | No | Default: off. Shows HTTP method names in the human column’s action buttons |
| Collapse the Machine Column (Advanced) | No | Default: off. Hides the machine column by default when the documentation opens |
| Display URI Parameters (Advanced) | No | Default: off. Shows URI parameters in the human column |


