get__token
TypeScript Client Library
public getTokens = async (): Promise<{ success: boolean; tokens: any[] }> => {
return this.makeRequest<{ success: boolean; tokens: any[] }>('token', 'GET', null);
};Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/token \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/token HTTP/1.1
Host: localhost:3000
Accept: application/jsonconst headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/token',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});{
"success": true,
"tokens": [
{}
]
}Status
Meaning
Description
Schema
Name
Type
Required
Restrictions
Description
Last updated
Was this helpful?