SendStreak logo
menu

List attribute metas

Lists the schema of custom contact attributes: each entry maps an attribute name and slug to its detected type (string, number, boolean, or date). The set is derived from the attributes your contacts actually carry, so it is read-only and has no count companion.

Endpoint

GET https://api.sendstreak.com/v2/accounts/{accountId}/attribute-metas

All v2 endpoints require a bearer token - see Authentication.

Path parameters

Parameter Type Description
accountId string The account the request is scoped to.

Response

The attribute metas.

{
  "start": 0,
  "limit": 25,
  "items": [
    {
      "_id": "665f0a2b1c9d440012ab34cd",
      "name": "Example name",
      "slug": "signup",
      "type": "string"
    }
  ]
}

Errors

Status Description
401 Missing or invalid token, or the token is not authorized for this account/user.

See Errors and rate limits for what error responses look like.

Curl example

curl --location --request GET 'https://api.sendstreak.com/v2/accounts/YOUR_ACCOUNT_ID/attribute-metas' \
--header 'Authorization: Bearer YOUR_API_TOKEN'
Try SendStreak for Free now!