Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Subscribe to an audit event

Pranithakat
Level 2
Level 2

I created a curl command as shown below which will let me subscribe to library updated event and send response to a url. Executed this command in online curl editor which sent 201 response but I don't see any success response in the url when library is updated.


curl https://reactor.adobe.io/properties/PRe88025c3c4de4dba84ebece68fc48ebf/callbacks \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [token]" \
-H "X-Api-Key: [key]" \
-H "X-Gw-Ims-Org-Id: [org id]" \
-X POST \
-d \
'
{
"data": {
"attributes": {
"url": "[url]",
"subscriptions": [
"library.updated"
]
}
}
}'

0 Replies