create

View as MarkdownOpen in Claude

Create a new LAML bin containing a cXML/LaML script.

Response Example

Example

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com",
7});
8
9const lamlBin = await client.compat.lamlBins.create({
10 Name: "Greeting",
11 Contents:
12 '<?xml version="1.0" encoding="UTF-8"?>' +
13 "<Response><Say>Hello!</Say></Response>",
14});