Information
Get your own user information
GET api/user
Example request
curl -X GET "https://ploi.io/api/user" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"avatar": "https://www.gravatar.com/avatar/your-profile-hash?s=300",
"name": "John Doe",
"email": "[email protected]",
"billing_details": null,
"country": "en",
"timezone": "UTC",
"created_at": "2018-03-01 00:00:00",
"plan": "Unlimited",
"plan_expires_at": "2020-01-01 00:00:00"
}
}