Mms

About Mms

Schema

mms document

KeyDescriptionTypeDefaultRequiredSupport Level
bodymime encoded mms messagestring()false
fromcaller-id-number, taken from user if absentstring()false
tocallee-id-number`array(string())string()`true

Fetch

GET /v2/accounts/{ACCOUNT_ID}/mms

curl -v -X GET \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    http://{SERVER}:8000/v2/accounts/{ACCOUNT_ID}/mms

Create

PUT /v2/accounts/{ACCOUNT_ID}/mms

curl -v -X PUT \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    http://{SERVER}:8000/v2/accounts/{ACCOUNT_ID}/mms

Fetch

GET /v2/accounts/{ACCOUNT_ID}/mms/{SMS_ID}

curl -v -X GET \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    http://{SERVER}:8000/v2/accounts/{ACCOUNT_ID}/mms/{SMS_ID}

Remove

DELETE /v2/accounts/{ACCOUNT_ID}/mms/{SMS_ID}

curl -v -X DELETE \
    -H "X-Auth-Token: {AUTH_TOKEN}" \
    http://{SERVER}:8000/v2/accounts/{ACCOUNT_ID}/mms/{SMS_ID}