Skip to content

Doubtfire API

List of Doubtfire

API: tii_hook

This markdown document provides detailed documentation for the “tii_hook” API endpoints, including their URLs, methods, parameters (if any), responses, and example requests using curl.

This “tii_hook” API has the following operations.

  • POST /api/tii_hook

POST activity_types: Accept the TurnItIn EULA

POST /api/tii_hook

  • URL: api/tii_hook
  • Method: POST
  • Parameters:
ParameterDescriptionParameter TypeData TypeMandatory
X-Turnitin-SignatureValdates server identityheaderstringYes
X-Turnitin-EventTypeThe name of the event type for this requestheaderstringYes
  • Response: 201 Created: Accept the TurnItIn EULA

  • Example Request:

    Terminal window
    curl -X POST --header 'Content-Type: application/json' --header 'Accept: text/error' --header 'X-Turnitin-Signature: <signature_value>' --header 'X-Turnitin-EventType: PDF_STATUS' 'http://localhost:3000/api/tii_hook'
  • Response Body

    success: Accept the TurnItIn EULA