List SMS Distribution

GET {{baseUrl}}/distributions/sms?surveyId=SV_tvXb5XmB1Nkuf&pageSize=100&skipToken=est proident ad&offset=0

Returns all SMS distributions for a survey

This API uses a 16-second timeout instead of the default timeout.

Request Params

KeyDatatypeRequiredDescription
surveyIdstring(Required) The survey ID associated with the SMS distributions
pageSizenumber
skipTokenstring
offsetnumber

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"result":{"elements":[{"id":"SMSD_GXMCgpmBVJsvM3g","ownerId":"UR_eDPqMQLv8yQZnIF","organizationId":"my_organization","requestStatus":"Scheduled","requestType":"Invite","sendDate":"2020-06-17T00:36:42Z","surveyId":"SV_0rdHMn9Qgyl1ZZz","name":"Example Survey","recipients":{"mailingListId":"CG_cC3WJ8ovwOENABD","contactId":null,"libraryId":"UR_eDPqMQLv8yQZnIF","sampleId":null,"transactionId":null,"transactionBatchId":null},"message":{"libraryId":"UR_eDPqMQLv8yQZnIF","messageId":"MS_6yZDT6PAW0MuPY1","messageType":"Library"},"stats":{"sent":0,"failed":0,"started":0,"finished":0,"credits":0,"segments":0}},{"id":"SMSD_j1P6DvymGfrkSoZ","ownerId":"UR_eDPqMQLv8yQZnIF","organizationId":"my_organization","requestStatus":"Scheduled","requestType":"Invite","sendDate":"2020-06-17T00:36:42Z","surveyId":"SV_0rdHMn9Qgyl1ZZz","name":"Example Survey","recipients":{"mailingListId":"CG_cC3WJ8ovwOENABD","contactId":null,"libraryId":"UR_eDPqMQLv8yQZnIF","sampleId":null,"transactionId":null,"transactionBatchId":null},"message":{"messageType":"Inline"},"stats":{"sent":0,"failed":0,"started":0,"finished":0,"credits":0,"segments":0}}],"nextPage":null},"meta":{"httpStatus":"200 - OK","requestId":"03f224c3-99ae-4814-a1ee-bdd37b0a9f16"}}