Create an cXML Bin
POSThttps://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/:AccountSid/LamlBins
Create an cXML bin.
Permissions
The API token must include one of the following scopes: Voice or Messaging or Fax.
Request
Responses
- 200
OK
Authorization: http
name: basic_authtype: httpscheme: basic
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/:AccountSid/LamlBins");
request.Headers.Add("Accept", "application/json");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear