Checking links

Parameters

HTTP method

Access rights

URL

Parameters

Note

GET validate_links https://api.admitad.com/validate_links/
  • link **

Returns the result of link check.*

  • * Returns the result in the JSON format.

  • ** We recommend to code the tested link in ULP in accordance to the standard RFC 2396.

Example of use

Example of a request with utility ``curl``:

curl -L -H 'Authorization: Bearer access_token' -X GET 'https://api.admitad.com/validate_links/?link=https%3A%2F%2Fad.admitad.com%2Fg%2Fe5be4e10ef3cb5566912bc6358ff32'

Example of the response from the API server in the JSON format:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive

{
    "message": "Link successfully tested."
}

Description of API server response fields

Name

Description

message

Notification

error_description

Error description