Skip to main content

Get Config

GET 

/api/temu/config

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

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

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