POST
/
publisher.v1
/
attribute.schema
/
get
Get
curl --request POST \
  --url http://localhost/publisher.v1/attribute.schema/get \
  --header 'Content-Type: application/json' \
  --data '
{
  "member_base_id": "<string>"
}
'
{
  "id": "<string>",
  "member_base_id": "<string>",
  "schema": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Retrieve the current attribute schema for a memberbase. The schema defines the valid attribute keys and their expected types. Use this endpoint to discover what attributes are available for a memberbase, validate client-side data before submitting, or display schema information in administrative interfaces.

Body

application/json
member_base_id
string
required

Response

Successful response

id
string
required
member_base_id
string
required
schema
object
required
created_at
string<date-time>
required
updated_at
string<date-time>
required