Skip to main content

Initialize OAuth

POST 

/api/temu/oauth/initialize

Initialize the OAuth flow for a new Temu integration.

Request Body:

  • name - Name for the integration instance
  • region - Temu region (us, eu, etc.)

Response:

  • authorization_url - URL to redirect user for Temu authorization
  • state - OAuth state parameter for security

Flow:

  1. Call this endpoint
  2. Redirect user to authorization_url
  3. User authorizes on Temu
  4. Temu redirects back with code
  5. Call Complete OAuth endpoint

Request

Responses

Successful response