Skip to main content

Get Config

GET 

/api/temu/config

Returns server-side capability flags used by the new-instance form on the frontend.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Response fields:

  • can_pick_environment (bool) — true on non-production servers, false on production. The UI uses this to decide whether to render the sandbox/production toggle on the new-instance form. On a production server the HasIntegrationEnvironment trait pins PRODUCTION regardless of the user's choice, so showing the toggle there would just be misleading.

Authentication: Bearer token (Sanctum).

Request

Responses

OK

Response Headers
    Content-Type