Textmagic
App · 18 actions
Send and schedule texts, manage contacts and lists, and watch for incoming replies.
Actions
| Action | What it does |
|---|---|
| Create a contact | Add a recipient to your Textmagic contacts. |
| Create a contact list | Make a named list for grouping contacts. |
| Create a message template | Save reusable message text. |
| Delete a contact | Remove a contact from your Textmagic account. |
| Delete a contact list | Remove a contact list. |
| Delete a message template | Remove a saved template. |
| Get a contact | Read the details of a Textmagic contact. |
| Get a list | Read the details of a Textmagic list. |
| Get a message | Read the details of a Textmagic message. |
| Get a reply | Read the details of a Textmagic reply. |
| Get a template | Read the details of a Textmagic template. |
| Get my Textmagic profile | Read the account and balance associated with the connected account. |
| List contacts | List a page of contacts on your Textmagic account. |
| List lists | List a page of lists on your Textmagic account. |
| List messages | List a page of messages on your Textmagic account. |
| List replies | List a page of replies on your Textmagic account. |
| List templates | List a page of templates on your Textmagic account. |
| Send or schedule a text | Send a text to one or more phone numbers. |
Create a contact
Add a recipient to your Textmagic contacts.
Inputs
- Phone
phonetextRequired - The international phone number without the plus sign.
- First name
first_nametext - The given name.
- Last name
last_nametext - The family name.
- Email
emailtext - The email address.
- Company
companytext - 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
- Name
nametextRequired - The list name.
- Shared
sharedtrue/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
- Name
nametextRequired - The template name.
- Content
contenttextRequired - The SMS template text.
- Email content
email_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 ID
contact_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
- List
list_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
- Template
template_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 ID
contact_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
- List
list_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 ID
message_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 ID
reply_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
- Template
template_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
- Page
pagenumber - The page number, starting at 1.At least 1.
- Limit
limitnumber - 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
- Page
pagenumber - The page number, starting at 1.At least 1.
- Limit
limitnumber - 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
- Page
pagenumber - The page number, starting at 1.At least 1.
- Limit
limitnumber - 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
- Page
pagenumber - The page number, starting at 1.At least 1.
- Limit
limitnumber - 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
- Page
pagenumber - The page number, starting at 1.At least 1.
- Limit
limitnumber - 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
- Phones
phoneslistRequired - Recipient numbers in international format.
- Text
texttextRequired - The text message to send.
- Sender
sendertext - A sending number or sender ID on your account.
- Send at
send_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
}
}