Get Contacts
GET
/api/v1/contacts
const url = 'https://api.parasta.io/api/v1/contacts';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/contacts \ --header 'Authorization: Bearer <token>'Get user’s contact list for P2P transfer.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Example
{ "status": "ok", "data": { "contacts": [ { "name": "John", "phone": "010-1234-5678", "did": "did:para:..." } ] }}