Create an account tag

Defines an account tag: a label with a type, which you can set on any account. Use it to record your own attributes, such as a risk tier. To set a tag on an account, use Set an account tag.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Account Tag creation request

string
required

The tag name, unique in your workspace.

string

What the tag means.

string
enum
required

The kind of value the tag holds.

  • Boolean: true or false.
  • String: free text.
  • DateTime: an epoch timestamp, as a string.
  • Number: a number.
  • Custom: one value from custom_values.
  • MultiCustom: several values from custom_values.
Allowed:
string | null
^[A-Z]{3}$
Defaults to null

The uppercase ISO 4217 currency code, for Number tags only. Optional, and null means the tag holds no currency.

custom_values
array of strings

The allowed values. Required for Custom and MultiCustom tags.

custom_values
string
enum
required

Who can change the value. Without it the request returns 500.

  • ReadWrite: anyone with write access.
  • ReadOnly: nobody, through the API. A write returns 400.
Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

A field is missing or invalid. Read the response body, fix the field and resend.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html