Create a custom attribute

Create a new custom attribute by using this method.

Please log in to see full path URL. Learn why.
post
/people/2/customAttributes
Request rate limit:
5 requests / second (per account)
Request Body schema:
collapse all -
dataType
string
Enum: "STRING" "DECIMAL" "INTEGER" "BOOLEAN" "DATE" "DATE_TIME" "LIST_OF_OBJECTS"

Custom attribute type.

name
string

Custom attribute name, 256 characters max. Invalid characters: {}[].

objectSchema
object

Object schema for LIST_OF_OBJECTS type. Defines the shape of the list items.

property name*
string
Enum: "STRING" "DECIMAL" "INTEGER" "BOOLEAN" "DATE" "DATE_TIME" "LIST_OF_OBJECTS"

Responses

default

successful response

400

Bad Request

401

Unauthorized

403

Forbidden

429

Too Many Requests

4XX

Error responses

500

Internal Server Error

5XX

Error responses

Request samples

Content type
Example
Copy
Collapse all
{
  • "name": "Contract Expiry Date",
  • "dataType": "DATE"
}

Response samples

Content type
Example
Copy
Collapse all
{
  • "createdAt": "2019-02-25T12:46:06",
  • "modifiedAt": "2019-02-25T12:46:06",
  • "name": "Contract Expiry Date",
  • "dataType": "DATE"
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.