Get Profile
GET
/api/v1/user/profile
const url = 'https://api.parasta.io/api/v1/user/profile';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.parasta.io/api/v1/user/profile \ --header 'Authorization: Bearer <token>'Get user profile information.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Example
{ "status": "ok", "data": { "name": "John Doe", "email": "john@example.com", "did": "did:para:xxxx", "kyc_verified": true }}