The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get my card ID for API calls?

cohereandnow company
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2023

I am setting up an API call that comments on a card. I have the two parameters "id" and "text" as shown in the documentation on https://developer.atlassian.com/cloud/trello/rest/api-group-cards/\#api-cards-id-customfielditems-get.

I see in the documentation that the cards id looks like this "^[0-9a-fA-F]{24}$" but I cant seem to find a card id that looks like that.

I tried "idCard" and "id" as the key and the following card value from the cards url: "yrSLWrI9".

When I test it, I get a 400 error code "invalid id". How I can get the card id that can be used in an API call?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
milynnus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 31, 2023

@cohereandnow company 

The variable is {cardidlong}

TAGS
AUG Leaders

Atlassian Community Events