Update LAML Application
PUT/resources/laml_applications/:id
Updates a LAML Application by ID.
Request
Path Parameters
id uuidrequired
The ID of the LAML Application
- application/json
Body
required
name string
call_request_url uri
call_request_method string
Possible values: [GET
, POST
]
call_fallback_url uri
call_fallback_method string
Possible values: [GET
, POST
]
call_status_url uri
call_status_method string
Possible values: [GET
, POST
]
message_request_url uri
message_request_method string
Possible values: [GET
, POST
]
message_fallback_url uri
message_fallback_method string
Possible values: [GET
, POST
]
message_status_url uri
message_status_method string
Possible values: [GET
, POST
]
Responses
- 200
- 422
A LAML Application
- application/json
- Schema
- Example (from schema)
Schema
id uuid
project_id uuid
display_name string
type string
created_at date-time
updated_at date-time
laml_application
object
id uuid
A unique identifier for the LAML Application
account_sid uuid
voice_url uri
voice_method string
Possible values: [GET
, POST
]
voice_fallback_url uri
voice_fallback_method string
Possible values: [GET
, POST
]
status_callback uri
status_callback_method string
Possible values: [GET
, POST
]
voice_caller_id_lookup
sms_url uri
sms_method string
Possible values: [GET
, POST
]
sms_fallback_url uri
sms_fallback_method string
Possible values: [GET
, POST
]
sms_status_callback uri
sms_status_callback_method string
Possible values: [GET
, POST
]
message_status_callback uri
api_version string
uri string
request_url uri
display_name string
{
"id": "993ed018-9e79-4e50-b97b-984bd5534095",
"project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",
"display_name": "Reception",
"type": "laml_application",
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z",
"laml_application": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account_sid": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",
"voice_url": "https://example.com/call_request_url",
"voice_method": "POST",
"voice_fallback_url": "https://example.com/call_fallback_url",
"voice_fallback_method": "POST",
"status_callback": "https://example.com/call_status_url",
"status_callback_method": "POST",
"voice_caller_id_lookup": null,
"sms_url": "https://example.com/message_request_url",
"sms_method": "POST",
"sms_fallback_url": "https://example.com/message_url",
"sms_fallback_method": "POST",
"sms_status_callback": "https://example.com/message_status_url",
"sms_status_callback_method": "POST",
"message_status_callback": "https://example.com/message_status_url",
"api_version": "2010-04-01",
"uri": "https://example.com",
"request_url": "https://example.signalwire.com/relay-bins/2537c89e-2606-48c2-b3c2-bb601d863d1e",
"display_name": "My Laml Application"
}
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
type stringrequired
code stringrequired
message stringrequired
attribute string
url urirequired
{
"type": "validation_error",
"code": "invalid_parameter",
"message": "Name must be present",
"attribute": "name",
"url": "https://developer.signalwire.com/rest/signalwire-rest/overview/error-codes#invalid_parameter"
}
Loading...