List Session

GET {{v1-Services-ServiceSid-Sessions-Url}}/v1/Services/:ServiceSid/Sessions?PageSize=225

Retrieve a list of all Sessions for the Service. A maximum of 100 records will be returned per page.

Request Params

KeyDatatypeRequiredDescription
PageSizenumberHow many resources to return in each list page. The default is 50, and the maximum is 1000.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"sessions":[{"sid":"KC1Cd86dFF437E6D7915F599a6e6FD1470","service_sid":"KSaC3143B65c30F42eF49f4fD9e176BBBc","account_sid":"ACE72D395Db225AbEaBde69a027B8fCecE","date_started":"1992-12-23T04:18:52.885Z","date_ended":"1957-04-28T12:13:05.999Z","date_last_interaction":"2020-11-21T22:29:34.994Z","date_expiry":"1954-11-28T05:09:31.445Z","unique_name":"est","status":"closed","closed_reason":"aliqua Duis in","ttl":61462528,"mode":"message-only","date_created":"1986-03-03T17:20:54.625Z","date_updated":"2008-01-29T09:11:50.892Z","url":"https://CYRwexPoEUEGgfnrlRbZPFBIC.xchs+.t41Rq8dtAubbHsPLKjtNYvwELkShTn2tUL9tSqDMz07T,VF","links":{}},{"sid":"KCf4a9e7f3aBbBf100644Ca286afe22AEB","service_sid":"KS0aA4F4fFFc2F8B0a7137e61dCFf25E11","account_sid":"AC49B0b7C8dD2C9A79f67FabaEeAEc2cde","date_started":"1971-03-12T18:53:46.448Z","date_ended":"1997-05-27T14:46:31.320Z","date_last_interaction":"1944-05-16T13:58:53.284Z","date_expiry":"1948-04-07T01:38:15.347Z","unique_name":"pariatur tempor consequat","status":"closed","closed_reason":"in magna in","ttl":-71661113,"mode":"voice-only","date_created":"1979-12-17T08:04:13.529Z","date_updated":"2006-01-13T00:19:43.610Z","url":"http://VPGhVeuFHQhPckrqyAJDNEPCbmgjiX.ajou4mZKpmeDeAtSyA1suyzBkgymXkBN2SLWP5qOng7DUYQbCmIEDkJiQeM8o","links":{}}],"meta":{"first_page_url":"http://Z.mpCV.La+XPSzBKg3u.nry4yaqDiRsulrziCPLbcIe","next_page_url":"https://C.bfdoYW-E,GPtf3cUjHNM+Ay3TEUfLeiPZjs,uVltWf+ykGHAY1l","page":66760072,"page_size":99448469,"previous_page_url":"http://urUGeptndrtJUWsOL.mlqyOU8Eej3fhgYlNiUZwArUjrEb+55oVvIUclGEaLQfBk","url":"http://juUjkeuesbjicDH.ooemJKc1RfIW9b2","key":"reprehenderit anim fug"}}