curl --request POST \
--url https://api.example.com/link-preview/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"actualURL": "https://www.google.com",
"situationTypeID": 1,
"mediaType": 3,
"entityCode": "637F8E73-5169-4D74-BF08-3F0BA481D74F",
"entityID": 123,
"entityTypeID": 123,
"isReusableByOthers": true
}
'{
"success": true,
"data": "<unknown>"
}Returns a success confirmation
curl --request POST \
--url https://api.example.com/link-preview/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"actualURL": "https://www.google.com",
"situationTypeID": 1,
"mediaType": 3,
"entityCode": "637F8E73-5169-4D74-BF08-3F0BA481D74F",
"entityID": 123,
"entityTypeID": 123,
"isReusableByOthers": true
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
1