ప్రమాణీకరణ

ఒక API కీని బేరర్ టోకెన్‌గా పంపండి. ఈ ఎండ్‌పాయింట్ స్పెసిఫికేషన్‌లో నిర్దిష్ట అనుమతిని పేర్కొనలేదు, కాబట్టి ఊహించడం కంటే మీ కీకి అవసరమైన కనిష్ట అనుమతిని ఇవ్వండి మరియు ప్రతిస్పందనను తనిఖీ చేయండి.

ఈ ఎండ్‌పాయింట్ ఎలాంటి సంస్థ ఐడీని తీసుకోదు. మీ కీ ఇప్పటికే అది ఏ సంస్థకు చెందుతుందో గుర్తిస్తుంది మరియు ప్రతిస్పందన దానికే పరిమితం చేయబడుతుంది.

ప్రయత్నించండి

కోణీయ బ్రాకెట్‌లలో ఉన్న దేన్నైనా మీ స్వంత విలువలతో భర్తీ చేయండి, మరియు కీ ప్లేస్‌హోల్డర్‌ను మీ డాష్‌బోర్డ్ నుండి తీసుకున్న కీతో భర్తీ చేయండి.

curl -X POST https://api.zinndigital.com/v1/orgs \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "type": <OrgType>, "name": <string> }'

సైన్ ఇన్ చేశారా? మీ డ్యాష్‌బోర్డ్‌లోని API కాన్సోల్ మీ అసలైన సంస్థ ID మరియు మీ స్వంత కీని నింపుతుంది, అలాగే మీరు అసలైన ప్రతిస్పందనను చూడటానికి లైవ్ API ద్వారా ఆభ్యర్థనను రన్ చేస్తుంది. ఈ ఎండ్‌పాయింట్‌ను API కన్సోల్‌లో తెరిచండి

వివరాలు

Creates a child organization under the caller's org (reseller creating a client, etc.). Send an `Idempotency-Key` so retries never create duplicates (docs/09 §2).

పారామీటర్లు

పేరురకంకావలసినదిఇది ఏమిటి
Idempotency-Key (header)stringకాదుClient-generated key that makes an unsafe request replay-safe: the server stores the first response and returns it verbatim for repeats.

అభ్యర్థన బాడీ

పేరురకంకావలసినదిఇది ఏమిటి
typeOrgTypeఅవునుOrganization type in the tenancy tree.
parent_org_idUuid | nullకాదుDefaults to the caller's org when omitted.
namestringఅవును
default_currencyCurrencyCodeకాదు

స్పందన

పేరురకంకావలసినదిఇది ఏమిటి
idUuidఅవునుUUIDv7 identifier — sortable by creation time (docs/02 §8).
typeOrgTypeఅవునుOrganization type in the tenancy tree.
parent_org_idUuid | nullకాదుParent in the tenancy tree; null for a top-level org.
namestringఅవును
brand_idobjectకాదుWhite-label brand applied to this org's surfaces.
default_currencyCurrencyCodeఅవునుISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
statusstring<active, suspended, closed>అవును
created_atstringఅవును

ఈ ఎండ్‌పాయింట్ తిరిగి ఇవ్వగల లోపాలు

401 · 403 · 409 · 422 · 429