પ્રમાણીકરણ

બિયરર ટૉકન તરીકે API કી મોકલો. આ એન્ડપૉઇન્ટ સ્પેશિફિકેશનમાં કોઈ ચોક્કસ પરવાનગી જણાવતું નથી, તેથી ધારણા બાંધવાને બદલે તમારી કીને તેની જરૂરિયાત મુજબ ન્યૂનતમ પરવાનગી આપો અને રિસ્પોન્સ તપાસો.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

The Model Context Protocol endpoint (initialize, tools/list, tools/call, resources/list, resources/read, ping). Authenticated only by a zmcp_… connection token (Authorization: Bearer zmcp_…); a missing/invalid token returns 401 with a WWW-Authenticate challenge pointing at the resource-metadata document. Each call runs under the connecting org's RLS scope and is gated by the connection's RBAC scopes; a batch (JSON array) is accepted. The tool catalogue is additionally filtered by the connecting org's role (customer, reseller's client, agency, reseller, staff), in tools/list and tools/call alike — a role-hidden tool answers unknown tool, never forbidden. An entitlement refusal (a full plan, a feature not on the tier) is returned as a tool result carrying a structured upgrade offer, never as a JSON-RPC error.

રિકવેસ્ટ બોડી

નામપ્રકારજરૂરીતે શું છે
jsonrpcstring<2.0>હા
idstring | integerનાRequest id (string or number); omit for a notification.
methodstringહા
paramsobjectના

જવાબ

નામપ્રકારજરૂરીતે શું છે
jsonrpcstring<2.0>હા
idstring | integer | nullહા
resultobjectના
errorobjectના

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

401 · 429