Used to create a new tag or an attribute. Once created this can be updated using tag/tags methods or the profile import method.

For more information on attributes and tags review our dedicated guide.

Type identifiers

Attribute value types are created and displayed by their identifier:

Type IDType name
0String
1Number
2DateTime
3Array
4Boolean
5Integer
6Date
7Object

Example

Create a new custom string-type User Profile attribute

curl --request POST \
  --url https://external-api.xtremepush.com/api/external/create/tag \
  --header 'content-type: application/json' \
  --data '{
    "apptoken": "YOUR_APPTOKEN",
    "title": "Test Attribute 1",
    "attribute_profile": 1,
    "type": 0
  }'
Language
Click Try It! to start a request and see the response here!