Skip to main content
POST
/
firework
/
v4
/
identifier-recommendations
/
actions
Create Action For Identifier Recommendations
curl --request POST \
  --url https://api.flare.io/firework/v4/identifier-recommendations/actions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": {
    "type": "accept"
  },
  "targets": [
    {
      "id": 123
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
action
IdentifierRecommendationAction · object
required
targets
IdentifierRecommendationActionTarget · object[]
Maximum array length: 100

Response

Successful Response