Skip to main content
GET
Get a tag

Authorizations

Authorization
string
header
required

Send either an API token or an OAuth access token as Authorization: Bearer <token>. See the Authentication page for details.

Headers

Privy-Account-Id
string

Target a subaccount instead of the main connected account. Pass a subaccount id from get_account's subaccounts list. Only direct subaccounts of the connected account are reachable — omit this for the main account itself.

Path Parameters

id
string
required

The tag's prefixed id: tag_… for a Privy tag, stag_… for a Shopify tag. The prefix selects the tag type, so pass the id exactly as returned. A numeric id from a Privy dashboard URL is not a valid API id and will 404.

Response

The tag.

data
object

A contact tag. Privy tags are applied in Privy; Shopify tags are synced from Shopify customer records. The two are separate sets, and a name can exist in both.