create new phone.systems session
POST /api/rest/customer/v1/phone-systems-sessions
Parameters
| Name |
Description |
|
data[type]
|
Data type
|
|
data[attributes][service]
|
Service
|
Request
Headers
Route
POST /api/rest/customer/v1/phone-systems-sessions
Body
{"data":{"type":"phone-systems-sessions","attributes":{"service":"1cfee449-8f7f-4a7b-8cec-20a4366a4399"}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "70908d19-a554-4223-bdd3-342be6b6667a",
"type": "phone-systems-sessions",
"attributes": {
"phone-systems-url": "https://sandbox.phone.systems/authfrom=rspec&redirect_to=phone_systems&token=asdf.asdf.asdf"
}
}
}