> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # label > Mark a position in the current section so that goto can jump to it. Mark any point of the current SWML section with a label so that [`goto`](/docs/swml/reference/messaging/goto) can jump to it. ## **Properties** **`label`** `string` — required The label name. Must be unique within the section. --- ## **Examples** ### Label paired with goto for retry #### YAML ```yaml version: 1.0.0 sections: main: - label: try_lookup - request: url: "https://api.example.com/lookup" save_variables: true - switch: variable: request_result case: timeout: - goto: label: try_lookup max: 3 default: - reply: body: "Lookup complete." ``` #### JSON ```json { "version": "1.0.0", "sections": { "main": [ { "label": "try_lookup" }, { "request": { "url": "https://api.example.com/lookup", "save_variables": true } }, { "switch": { "variable": "request_result", "case": { "timeout": [ { "goto": { "label": "try_lookup", "max": 3 } } ] }, "default": [ { "reply": { "body": "Lookup complete." } } ] } } ] } } ``` > Mark a position in the current section so that goto can jump to it.