SimpleTexting

App · 20 actions

Send messages, manage contacts and lists, and watch conversations and campaigns.

Actions

ActionWhat it does
Create a contactCreate a contact with a phone number and optional profile fields.
Create a contact listCreate a new named contact list.
Delete a contactRemove a contact by contact ID or phone number.
Delete a contact listDelete the selected list.
Evaluate message costPreview the format and estimated credits for a message.
Get a campaignGet a campaign by its ID.
Get a contactGet a contact by its ID.
Get a contact listGet a contact list by its ID.
Get a media fileGet a media file by its ID.
Get a messageGet a message by its ID.
Get account informationRead the email for the SimpleTexting account.
List campaignsList campaigns for your SimpleTexting account.
List contact listsList contact lists for your SimpleTexting account.
List contact segmentsList contact segments for your SimpleTexting account.
List contactsList contacts for your SimpleTexting account.
List custom fieldsList custom fields for your SimpleTexting account.
List media filesList media files for your SimpleTexting account.
List messagesList messages for your SimpleTexting account.
List sending numbersList sending numbers for your SimpleTexting account.
Send a text messageSend a text or multimedia message to a recipient.

Create a contact

Create a contact with a phone number and optional profile fields.

Inputs

PhonephonetextRequired
The contact’s phone number.
First namefirst_nametext
The given name.
Last namelast_nametext
The family name.
Emailemailtext
The email address.
Birthdaybirthdaydate
Choose the contact’s birthday.
Commentcommenttext
A note about the contact.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "id": "example"
  }
}

Create a contact list

Create a new named contact list.

Inputs

NamenametextRequired
The name of the new list.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "id": "example"
  }
}

Delete a contact

Remove a contact by contact ID or phone number.

Inputs

ContactcontacttextRequired
The SimpleTexting contact ID or phone number.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {}
}

Delete a contact list

Delete the selected list.

Inputs

Listlist_idtextRequired
The list id.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {}
}

Evaluate message cost

Preview the format and estimated credits for a message.

Inputs

Modemodetext
Choose the delivery format.One of: AUTO, SINGLE_SMS_STRICTLY (Single sms strictly), MMS_PREFERRED (Mms preferred). Default: AUTO.
TexttexttextRequired
The text of the message.
Subjectsubjecttext
The MMS subject line.
Mediamedialist
Media URLs or saved media IDs for an MMS.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "credits": 1,
    "type": "example"
  }
}

Get a campaign

Get a campaign by its ID.

Inputs

Campaigncampaign_idtextRequired
The campaign id.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "accountPhone": "example",
    "campaignId": "example",
    "modified": "example",
    "started": "example",
    "state": "example",
    "title": "example",
    "type": "example"
  }
}

Get a contact

Get a contact by its ID.

Inputs

ContactcontacttextRequired
The SimpleTexting contact ID or phone number.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "birthday": "example",
    "contactId": "example",
    "contactPhone": "example",
    "created": "example",
    "email": "example",
    "firstName": "example",
    "lastName": "example",
    "subscriptionStatus": "example",
    "updated": "example"
  }
}

Get a contact list

Get a contact list by its ID.

Inputs

Listlist_idtextRequired
The list id.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "listId": "example",
    "name": "example"
  }
}

Get a media file

Get a media file by its ID.

Inputs

Media IDmedia_idtextRequired
The media id.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "contentType": "example",
    "id": "example",
    "link": "example",
    "name": "example",
    "status": "example"
  }
}

Get a message

Get a message by its ID.

Inputs

Message IDmessage_idtextRequired
The message id.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "accountPhone": "example",
    "category": "example",
    "contactPhone": "example",
    "directionType": "example",
    "id": "example",
    "text": "example",
    "timestamp": "example"
  }
}

Get account information

Read the email for the SimpleTexting account.

Inputs

None.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "email": "example"
  }
}

List campaigns

List campaigns for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.
Account phoneaccount_phonetext
Choose the sending number, or leave empty for all numbers.
Statestatetext
Choose the campaign state.One of: PAUSED, SENDING, COMPLETED, ERROR, MONITORING.
Start timestart_timedate and time
Return campaigns starting after this time.
End timeend_timedate and time
Return campaigns starting before this time.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "accountPhone": "example",
        "campaignId": "example",
        "modified": "example",
        "started": "example",
        "state": "example",
        "title": "example",
        "type": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List contact lists

List contact lists for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "listId": "example",
        "name": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List contact segments

List contact segments for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "created": "example",
        "name": "example",
        "segmentId": "example",
        "updated": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List contacts

List contacts for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.
Sincesincedate and time
Return contacts changed since this date and time.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "birthday": "example",
        "contactId": "example",
        "contactPhone": "example",
        "created": "example",
        "email": "example",
        "firstName": "example",
        "lastName": "example",
        "subscriptionStatus": "example",
        "updated": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List custom fields

List custom fields for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "label": "example",
        "mergeTag": "example",
        "type": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List media files

List media files for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "contentType": "example",
        "id": "example",
        "link": "example",
        "name": "example",
        "status": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List messages

List messages for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.
Account phoneaccount_phonetext
Choose the sending number, or leave empty for all numbers.
Contact phonecontact_phonetext
Filter by the recipient or sender.
Sincesincedate and time
Return messages from this date and time.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "accountPhone": "example",
        "category": "example",
        "contactPhone": "example",
        "directionType": "example",
        "id": "example",
        "text": "example",
        "timestamp": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

List sending numbers

List sending numbers for your SimpleTexting account.

Inputs

Pagepagenumber
The page number, starting at 0.At least 0.
Limitlimitnumber
Number of results per page.From 1 to 500.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "content": [
      {
        "name": "example",
        "number": "example"
      }
    ],
    "totalElements": 1,
    "totalPages": 1
  }
}

Send a text message

Send a text or multimedia message to a recipient.

Inputs

PhonephonetextRequired
The recipient’s phone number.
Account phoneaccount_phonetext
Choose the sending number, or leave empty for all numbers.
Modemodetext
Choose the delivery format.One of: AUTO, SINGLE_SMS_STRICTLY (Single sms strictly), MMS_PREFERRED (Mms preferred). Default: AUTO.
TexttexttextRequired
The text of the message.
Subjectsubjecttext
The MMS subject line.
Mediamedialist
Media URLs or saved media IDs for an MMS.

Outputs

dataobject
The response from SimpleTexting.
Example output
{
  "data": {
    "credits": 1,
    "id": "example"
  }
}

On this page