Langsung ke konten
↑↓ navigasi↵ bukaEsc tutup

Referensi API

Developer

Periksa API key atau app token yang sedang dipakai.

Get api token info

GET/v1/developer/token-info

The calling API key (or session) with its tenant and scopes.

Scope:API key apa pun

Response200 · application/json

OK

  • sandboxbooleanwajib

    Developer account, or an unpublished app in its own tenant; no Pro needed, lower rate limit.

  • kindstringwajib

    Salah satu dari:sessionapi_keyapp

  • appIdstringwajibnullable
  • appNamestringwajibnullable
  • installationIdstringwajibnullable
  • tenantIdstringwajib

    format: uuid

  • keyIdstringwajibnullable

    Null when called with a session token.

  • keyNamestringwajibnullable
  • scopesarray<ApiScope>wajib

    Salah satu dari:orders:readorders:writeproducts:readproducts:writecontacts:readcontacts:writechat:readchat:write

Contoh request · curl
curl "https://api.comnethub.app/v1/developer/token-info" \
  -H "Authorization: Bearer $THECOMNET_API_KEY"