User
Get User Profile

Knit API Documentation

Get User Profile

Endpoint

GET

{{baseUrl}}/api/user
Headers
  • X-API-KEY: Your API key, which authorizes the request.
  • Accept: Set to application/json to receive the response in JSON format.
Sample Request
Sample Request
curl --location -g '{{baseUrl}}/api/user' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Accept: application/json'
Sample Response
Sample Response
{
    "success": true,
    "message": "User details fetched successfully",
    "status": 200,
    "data": {
        "id": "a2667393-2c6c-43c9-a288-6167e2b2b591",
        "name": "Firstname Lastname",
        "email": "user@gmail.com",
        "email_verified_at": null,
        "webhookUrl": "https://webhook.site/id",
        "createdAt": "2024-02-17T16:25:47.000000Z",
        "updatedAt": "2024-02-17T18:02:06.000000Z"
    }
}