Get Attribute type

GET/attribute-types/{id}

Get Attribute type.

Privileges:

  • bp-settings-custom-fields.view

Audit event:

  • biz.core.v2.attribute.type.get

Errors:

  • BIZ_CORE:ATTRIBUTE_TYPE_NOTFOUND - Attribute type with given id not found.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

id.

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/attribute-types/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Attribute type data

application/json
allCustomAttrsstring
Possible values: yes, no
codeNamestring
idinteger
namestring
statusstring
Possible values: active, inactive, deleted, misc
statusDtstring (date-time)
Example response
{
  "allCustomAttrs": "yes",
  "codeName": "string",
  "id": 0,
  "name": "string",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z"
}