Skip to main content
Solved

Create Adaptive Card should return the cardId

  • October 18, 2024
  • 2 replies
  • 23 views

Forum|alt.badge.img

When creating a new adaptive card using the API (https://developers.ringcentral.com/api-reference/Adaptive-Cards/createGlipAdaptiveCardNew), it would be very useful to receive the created cardId in the response, this way we can use that Id to modify the card content later.

Thanks!

Best answer by PhongVu

The ‘id’ in the response of that API is the card id. Let me know if you don’t get it.

HTTP/1.1 201 Created

{
  "id": "546372",
  "creationTime": "2020-07-31T18:00:00.000Z",
  "lastModifiedTime": "2020-07-31T18:00:00.000Z",
  "type": "AdaptiveCard",
  "creator": {"id": "con987"},
  "chatIds": ["52342"],
  "version": "1.3"
}

 

View original
Did this thread help you find an answer to your question?

2 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2331 replies
  • Answer
  • October 18, 2024

The ‘id’ in the response of that API is the card id. Let me know if you don’t get it.

HTTP/1.1 201 Created

{
  "id": "546372",
  "creationTime": "2020-07-31T18:00:00.000Z",
  "lastModifiedTime": "2020-07-31T18:00:00.000Z",
  "type": "AdaptiveCard",
  "creator": {"id": "con987"},
  "chatIds": ["52342"],
  "version": "1.3"
}

 


Forum|alt.badge.img
  • Author
  • Employee
  • 1 reply
  • October 18, 2024

Thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings