LogoLogo
Jump to...Create Free API Account
  • Developer Center Introduction
  • Getting Started
    • Get an API Key
    • Send a Message
    • Add a Subscriber
    • Setting up Webhooks
  • Check Delivery Status
  • API Basics
    • Request / Response Headers
    • Request Parameters
    • Rate Limits
    • Error Response Codes
  • Messaging Routes
    • 10DLC
    • Toll-Free
    • Short Code
    • iMessage
    • RCS / RBM
  • Tutorials
    • Message Sending
      • Send an SMS Message
      • Send an MMS Message
      • Send an iMessage
        • Sender Identity
        • Subscriber Opt In
        • Send iMessages
        • SMS Fallback
      • Message Templates
      • Receive and Reply to Messages
    • Manage Subscribers
      • Custom Subscriber Attributes
      • Bulk Create/Update Subscribers
    • Webhooks
      • Setting up your first webhook
  • Use Cases
    • Generate and validate 2FA / MFA codes via SMS
  • FAQ
  • API Reference
Powered by GitBook
LogoLogo

Resources

  • Help Center
  • Contact

Company

  • About Us
  • Privacy Policy
  • Service Agreement

Connect with Us

  • YouTube
  • Facebook
  • X (Twitter)
  • Instagram

Mobile Text Alerts © 2025

On this page
  • Manage Custom Subscriber Attributes in the Platform
  • Edit or Delete Attributes
  • Add Attributes
  • Assign Attributes to Subscribers
  • Use a Workflow to collect Subscriber Attributes
  • Manage Subscriber Attributes with the MTA API
  • Add/Update a Subscriber attributes
  • View Subscriber Attributes

Was this helpful?

Export as PDF
  1. Tutorials
  2. Manage Subscribers

Custom Subscriber Attributes

Learn how you can add and update custom subscriber attributes for your subscribers.

PreviousManage SubscribersNextBulk Create/Update Subscribers

Last updated 19 days ago

Was this helpful?

You can use custom subscriber attributes to store any type of data for your subscribers. These custom attributes can help you organize your subscribers to create send lists, form groups, save customer data like birth dates and more.

These attributes can be added and updated manually through , automatically from your subscribers via , and with the .

Manage Custom Subscriber Attributes in the Platform

Visit the tab in the platform dashboard by selecting Subscribers -> Attributes. Here you can view and search all attributes currently available for your subscribers.

Edit or Delete Attributes

Click on a specific attribute to edit it, or click the "trash bin" icon to delete an attribute.

Add Attributes

  1. Click the Add Attribute button.

  2. Enter the Name of the new attribute.

  3. Select the from the following data types under Attribute Type:

    • Text (plain text)

    • Number (digits only)

    • Date (you will need to specify the date format)

    • Checkbox (a flag option that allows either checked or unchecked)

    • Option/Multi Options (this will allow you to create an enum of possible options)

    • Address (text for storing subscriber addresses)

Example: To create a field to store subscribers' birthdays, you could create the following attribute:

  • Name: "Birthday" with the Attribute Type: Date.

Assign Attributes to Subscribers

Use a Workflow to collect Subscriber Attributes

Workflow Builder allows you to automatically collect data from your subscribers via SMS.

Manage Subscriber Attributes with the MTA API

Add/Update a Subscriber attributes

curl -XPOST --location 'https://api.mobile-text-alerts.com/v3/subscribers' \
  --header 'Authorization: Bearer 89fa747a-e01b-5940-99c2-4e96fa996258' 
  --header 'Content-Type:application/json' \
  --data-raw '{  
    "firstName": "FirstName", 
    "lastName": "LastName", 
    "number": 8002223333, 
    "email": "example@mobile-text-alerts.com"
    "subscriberFields": {
      "": "01/01/2000"
    } 
}'

MTA will assign each custom attribute name a SubscriberFieldId and each subscriber attribute will have a unique id assigned. This can be retrieved by viewing the subscriber data from the API.

View Subscriber Attributes

Custom subscriber attributes are returned by the Mobile Text Alerts API in the field subscriberFieldData which contains the id, subscriberFieldId and data value.

Example Response:

{"id":109021626,
    "firstName":"Test",
    "lastName":"Example",
    "email":"example@mobile-text-alerts.com",
    "number":0,
    "date":"2025-03-20T19:09:38.000Z",
    "countryId":null,
    "groups":[],
    "":
        [{"id":21323389,"subscriberFieldId":7506,"data":"01/01/2000"},
        {"id":21323390,"subscriberFieldId":7507,"data":"ExampleAttribute"}],
    "signupMethod":11,
    "longNumber":0,
    "carrierId":41
}

After your attributes are created, you can assign the data for those attributes to your subscribers manually on the page, or by importing a spreadsheet.

You can also configure your account's to collect subscriber data as part of the enrollment process.

Subscriber attributes can be added or updated by including key/value pairs in subscriberFields as part of the request body to one of the endpoints.

Example Request to Create a Subscriber

For example when retrieving a subscriber's data from :

Manage Subscribers
sign-up page
Click here to learn more.
/subscribers
Manage Custom Attributes
the platform
SMS with a workflow
MTA API
POST /subscribers
GET /subscribers