POST
/
v1
/
user
/
initialize
Initialize user resources
curl --request POST \
  --url https://api.weblinq.dev/v1/user/initialize \
  --header 'Content-Type: application/json' \
  --data '{
  "userId": "<string>"
}'
{
  "success": true,
  "data": {
    "webDurableObjectInitialized": true,
    "message": "<string>"
  },
  "creditsCost": 123,
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timestamp": "2023-11-07T05:31:56Z"
}

Body

application/json

Response

200
application/json

User resources initialized successfully

The response is of type object.