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 ID

Type name

0

String

1

Number

2

Date

3

Array

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!