Read how a site texts

get_site_messages

Reads whether a site sends texts, whether test mode is on, the countries it may text, its sender name, prices, limits and this month's usage.

enabled says whether texting is on and testMode whether Sent only checks each text, so nothing goes out and nothing is charged. Test mode stays on until the workspace is on a paid plan, which isPaid says. paused is true while Modulify paused texting on the site. countries lists the ISO codes of the countries the site may text, and with none it cannot text anyone yet. profile.shortName is the sender name, prices the credits one SMS part costs to each country, and contactCredits the fee for the first text to a number in a calendar month. limits and usage carry the limits and this month's texts. See Messages.

Inputs

Input Type Required Description
projectId string Yes The site id.