அங்கீகாரம்

பியரர் டோக்கனாக (bearer token) ஒரு API விசையை அனுப்பவும். அந்த விசை apikeys.manage அனுமதியைக் கொண்டிருக்க வேண்டும்; அது இல்லாத விசை 404 அல்ல, 403 குறியீட்டுடன் மறுக்கப்படும்.

உங்கள் அமைப்பு ஐடி எங்கு செல்ல வேண்டும்

இந்த எண்ட்ஸ்பாயிண்ட் JSON பாடியில் உள்ள ஒரு புலமாக org_id-ஐ எடுத்துக்கொள்கிறது.

உங்கள் நிறுவன ஐடி உங்கள் டாஷ்போர்டில் உள்ள API விசைகள் திரையில், விசைக்கு அருகிலேயே உள்ளது. நீங்கள் செய்யும் ஒவ்வொரு அழைப்பிலும் இதுவே ஒரே ஐடி ஆகும்.

முயன்று பார்

கோண அடைப்புக்குறிகளில் உள்ள எதையும் உங்கள் சொந்த மதிப்புகளுடன் மாற்றவும், மேலும் விசை பிளேஸ்ஹோல்டரை உங்கள் டாஷ்போர்டில் உள்ள விசையுடன் மாற்றவும்.

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

உள்நுழைந்துள்ளீர்களா? உங்கள் டேஷ்போர்டில் உள்ள ஏபிஐ கன்சோல் உங்கள் உண்மையான நிறுவன ஐடி மற்றும் உங்கள் சொந்த சாவியை நிரப்புகிறது, மேலும் நேரலை ஏபிஐக்கு எதிராக கோரிக்கையை இயக்குகிறது, இதனால் நீங்கள் உண்மையான பதிலைக் காண முடியும். இந்த எண்ட்மார்க்கை ஏபிஐ கன்சோலில் திறக்கவும்

விவரங்கள்

Mints a new per-org API key and returns the full zdk_… token once — only its hash is stored, so a lost token is replaced, never recovered. The requested scopes must be permissions the caller already holds in the target org; asking for one you do not hold is a 403 (a key can never out-scope its creator). Send an Idempotency-Key so a retry after a lost response returns the same token rather than orphaning a key. Requires apikeys.manage.

அளவுருக்கள்

பெயர்வகைதேவைப்படுகிறதுஅது என்ன
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.

கோரிக்கை உடல்

பெயர்வகைதேவைப்படுகிறதுஅது என்ன
namestringஆம்
scopesstring[]இல்லைRBAC permission keys to grant. Each must be a permission the caller holds in the target org (a key can never out-scope its creator); an unheld scope is a 403, an unknown one a…
sandboxbooleanஇல்லைMint a sandbox (test-mode) key. Defaults to false.
org_idUuid | nullஇல்லைThe organization the key belongs to. Defaults to the caller's org; the caller must hold apikeys.manage in the target org.

பதில்

பெயர்வகைதேவைப்படுகிறதுஅது என்ன
idUuidஆம்UUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringஆம்
prefixstringஆம்The key's public lookup id (the middle segment of the token).
scopesstring[]ஆம்The RBAC permission keys this key may exercise.
sandboxbooleanஆம்A sandbox (test-mode) key suppresses billing + provisioning (docs/09 §2).
last_used_atobjectஇல்லைWhen the key last authenticated a request; null if never used.
revoked_atobjectஇல்லைAlways null on a listed/fetched key — revoked keys are not returned.
created_atstringஆம்
tokenstringஆம்The full zdk_<mode>_<prefix>_<secret> token. Shown once, here only — store it now; it cannot be retrieved again, only replaced.

இந்த எண்ட்ஸ்பாயிண்ட் திரும்ப அனுப்பக்கூடிய பிழைகள்

401 · 403 · 409 · 422 · 429