PUT
/
verifications
/
{verification-id}
/
add-items
curl --request PUT \
  --url https://api.gotrebol.com/verifications/{verification-id}/add-items \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "items": [
    {
      "type": "generic",
      "options": {
        "file_url": "https://www.somepresignedURL.com/withDownloadableFile",
        "client_item_type": "ac_mx"
      }
    },
    {
      "type": "generic",
      "options": {
        "file_url": "https://www.somepresignedURL.com/withDownloadableFile",
        "peopleScope": [
          "powers"
        ],
        "client_item_type": "person_id"
      }
    }
  ]
}'
{
  "success": true,
  "message": "Items added successfully",
  "added_items": [
    {
      "id": 25441,
      "item_status": "pending",
      "item_type": "generic"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

verification-id
string
required

El ID de la verificación.

Body

application/json

Response

200
application/json

Items agregados exitosamente a la verificación.

The response is of type object.