Skip to main content
POST
/
v1
/
models
/
{modelId}
/
suggestions
/
{suggestionId}
/
restore
Restore a dismissed suggestion
curl --request POST \
  --url https://{instance}.omniapp.co/api/v1/models/{modelId}/suggestions/{suggestionId}/restore \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

UUID of the shared model the suggestion belongs to.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

suggestionId
string<uuid>
required

The unique identifier of the suggestion to restore.

Example:

"b2c3d4e5-f6a7-8901-bcde-f12345678901"

Response

Suggestion restored successfully

success
boolean

Indicates the request was successful

Example:

true