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":"5ede65aa-6a81-4a2d-8580-df8d462b107f"}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "4764c6f7-921b-4441-b8c4-bb452a768d81",
"type": "phone-systems-sessions",
"attributes": {
"phone-systems-url": "https://sandbox.phone.systems/authfrom=rspec&redirect_to=phone_systems&token=asdf.asdf.asdf"
}
}
}