Skip to main content
Solved

Create Adaptive Card should return the cardId

  • October 18, 2024
  • 2 replies
  • 83 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"
}

 

2 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 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
  • October 18, 2024

Thank you!