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

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 Leaders.
May 31, 2023

@cohereandnow company 

The variable is {cardidlong}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events