Javascript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.thanks.io/api/v2/image-templates', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
"<any>"
sub_account is optional.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type any.
any
Was this page helpful?