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 (legacy)
2Date (legacy)
3JSON (legacy)
4Boolean
5Number
6Integer
7Date
8DateTime
9Array
10Object

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!