How to get Trello card avatarHash field using card ID with this Trello api: GET /1/cards/{id}/{field} (Get a field on a card)

Viewed 16

For most trello API endpoints, they require apiKey and apiToken. like this: 'https://api.trello.com/1/cards/{id}/{field}?key=APIKey&token=APIToken'

I have tried using user APItoken for some other endpoints like "getting cards using userId". It worked perfectly. However, to "get a card with cardId", or a "get field of a card", it shows bad request. I'm thinking that I'm using the wrong token. Is there some kind of token that can access every cards? Would really appreciate anyone's insight. Thanks!

You may refer this Trello API page: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-field-get

0 Answers
Related