Textmagic

App · 18 actions

Send and schedule texts, manage contacts and lists, and watch for incoming replies.

Actions

ActionWhat it does
Create a contactAdd a recipient to your Textmagic contacts.
Create a contact listMake a named list for grouping contacts.
Create a message templateSave reusable message text.
Delete a contactRemove a contact from your Textmagic account.
Delete a contact listRemove a contact list.
Delete a message templateRemove a saved template.
Get a contactRead the details of a Textmagic contact.
Get a listRead the details of a Textmagic list.
Get a messageRead the details of a Textmagic message.
Get a replyRead the details of a Textmagic reply.
Get a templateRead the details of a Textmagic template.
Get my Textmagic profileRead the account and balance associated with the connected account.
List contactsList a page of contacts on your Textmagic account.
List listsList a page of lists on your Textmagic account.
List messagesList a page of messages on your Textmagic account.
List repliesList a page of replies on your Textmagic account.
List templatesList a page of templates on your Textmagic account.
Send or schedule a textSend a text to one or more phone numbers.

Create a contact

Add a recipient to your Textmagic contacts.

Inputs

PhonephonetextRequired
The international phone number without the plus sign.
First namefirst_nametext
The given name.
Last namelast_nametext
The family name.
Emailemailtext
The email address.
Companycompanytext
The company name.

Outputs

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

Create a contact list

Make a named list for grouping contacts.

Inputs

NamenametextRequired
The list name.
Sharedsharedtrue/false
Share the list with subaccounts.

Outputs

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

Create a message template

Save reusable message text.

Inputs

NamenametextRequired
The template name.
ContentcontenttextRequired
The SMS template text.
Email contentemail_contenttext
The email version of the template.

Outputs

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

Delete a contact

Remove a contact from your Textmagic account.

Inputs

Contact IDcontact_idnumberRequired
The contact id.At least 1.

Outputs

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

Delete a contact list

Remove a contact list.

Inputs

Listlist_idnumberRequired
The list id.At least 1.

Outputs

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

Delete a message template

Remove a saved template.

Inputs

Templatetemplate_idnumberRequired
The template id.At least 1.

Outputs

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

Get a contact

Read the details of a Textmagic contact.

Inputs

Contact IDcontact_idnumberRequired
The contact id.At least 1.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "companyName": "example",
    "email": "example",
    "firstName": "example",
    "id": 1,
    "lastName": "example",
    "phone": "example"
  }
}

Get a list

Read the details of a Textmagic list.

Inputs

Listlist_idnumberRequired
The list id.At least 1.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "id": 1,
    "membersCount": 1,
    "name": "example",
    "shared": true
  }
}

Get a message

Read the details of a Textmagic message.

Inputs

Message IDmessage_idnumberRequired
The message id.At least 1.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "id": 1,
    "messageTime": "example",
    "receiver": "example",
    "sender": "example",
    "status": "example",
    "text": "example"
  }
}

Get a reply

Read the details of a Textmagic reply.

Inputs

Reply IDreply_idnumberRequired
The reply id.At least 1.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "id": 1,
    "messageTime": "example",
    "receiver": "example",
    "sender": "example",
    "text": "example"
  }
}

Get a template

Read the details of a Textmagic template.

Inputs

Templatetemplate_idnumberRequired
The template id.At least 1.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "content": "example",
    "id": 1,
    "lastModified": "example",
    "name": "example"
  }
}

Get my Textmagic profile

Read the account and balance associated with the connected account.

Inputs

None.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "firstName": "example",
    "id": 1,
    "lastName": "example",
    "username": "example"
  }
}

List contacts

List a page of contacts on your Textmagic account.

Inputs

Pagepagenumber
The page number, starting at 1.At least 1.
Limitlimitnumber
Maximum number of results to return.From 1 to 100.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "limit": 1,
    "page": 1,
    "pageCount": 1,
    "resources": [
      {
        "companyName": "example",
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "phone": "example"
      }
    ]
  }
}

List lists

List a page of lists on your Textmagic account.

Inputs

Pagepagenumber
The page number, starting at 1.At least 1.
Limitlimitnumber
Maximum number of results to return.From 1 to 100.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "limit": 1,
    "page": 1,
    "pageCount": 1,
    "resources": [
      {
        "id": 1,
        "membersCount": 1,
        "name": "example",
        "shared": true
      }
    ]
  }
}

List messages

List a page of messages on your Textmagic account.

Inputs

Pagepagenumber
The page number, starting at 1.At least 1.
Limitlimitnumber
Maximum number of results to return.From 1 to 100.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "limit": 1,
    "page": 1,
    "pageCount": 1,
    "resources": [
      {
        "id": 1,
        "messageTime": "example",
        "receiver": "example",
        "sender": "example",
        "status": "example",
        "text": "example"
      }
    ]
  }
}

List replies

List a page of replies on your Textmagic account.

Inputs

Pagepagenumber
The page number, starting at 1.At least 1.
Limitlimitnumber
Maximum number of results to return.From 1 to 100.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "limit": 1,
    "page": 1,
    "pageCount": 1,
    "resources": [
      {
        "id": 1,
        "messageTime": "example",
        "receiver": "example",
        "sender": "example",
        "text": "example"
      }
    ]
  }
}

List templates

List a page of templates on your Textmagic account.

Inputs

Pagepagenumber
The page number, starting at 1.At least 1.
Limitlimitnumber
Maximum number of results to return.From 1 to 100.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "limit": 1,
    "page": 1,
    "pageCount": 1,
    "resources": [
      {
        "content": "example",
        "id": 1,
        "lastModified": "example",
        "name": "example"
      }
    ]
  }
}

Send or schedule a text

Send a text to one or more phone numbers. Choose a date and time to schedule it.

Inputs

PhonesphoneslistRequired
Recipient numbers in international format.
TexttexttextRequired
The text message to send.
Sendersendertext
A sending number or sender ID on your account.
Send atsend_atdate and time
Choose when to send. Times are converted to UTC.

Outputs

dataobject
The response from Textmagic.
Example output
{
  "data": {
    "bulkId": 1,
    "id": 1,
    "messageId": 1,
    "sessionId": 1
  }
}

On this page