Skip to main content
POST
/
custom-data-points
Create Custom Data Point
curl --request POST \
  --url https://api.authsignal.com/v1/management/custom-data-points \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "dataType": "text",
  "modelType": "user",
  "description": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "dataType": "text",
  "modelType": "user",
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Use your Authsignal Management API secret key as the username and leave the password empty. This key is different from the Server API key and can be found in the API Keys section of the Authsignal Portal settings page.

Body

application/json
name
string
required
dataType
enum<string>
required
Available options:
text,
number,
boolean,
multiselect
modelType
enum<string>
required
Available options:
user,
action
description
string

Response

OK

id
string
name
string
dataType
enum<string>
Available options:
text,
number,
boolean,
multiselect
modelType
enum<string>
Available options:
user,
action
description
string