Users
Create or Update User
Changed onCreate or update a user if already exists.
post/users
Request
- Base URLhttps://api.winwinkit.com
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring required
The API key to authenticate with.
Request body
Example request
{
"app_user_id": "821fae4b5-1a2d-4c1e-9152-5297086a161c",
"first_seen_at": "2024-11-10T10:28:18.104Z",
"metadata": {},
"stripe_customer_id": "cus_1234567890"
}Response
The user has been successfully updated.
Changes
- info
added the required property
///////////to the response with the status - info
added the required property
///////////to the response with the status
- info
- info
added the required property
//////to the response with the status - info
added the required property
//////to the response with the status
- info