> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# label

> Mark any point of the SWML section with a label.

Mark any point of the SWML section with a label so that [`goto`](/docs/swml/reference/goto) can jump to it.

## **Properties**

<ParamField path="label" type="string" required={true} toc={true}>
  Mark any point of the SWML section with a label so that `goto` can jump to it.
</ParamField>

## **Examples**

<CodeBlocks>
  <CodeBlock title="YAML">
    ```yaml
    version: 1.0.0
    sections:
      main:
        - label: foo
        - play:
            url: 'say: This speech will be repeated 4 times.'
        - goto:
            label: foo
            max: 3
    ```
  </CodeBlock>

  <CodeBlock title="JSON">
    ```json
    {
      "version": "1.0.0",
      "sections": {
        "main": [
          {
            "label": "foo"
          },
          {
            "play": {
              "url": "say: This speech will be repeated 4 times."
            }
          },
          {
            "goto": {
              "label": "foo",
              "max": 3
            }
          }
        ]
      }
    }
    ```
  </CodeBlock>
</CodeBlocks>