Petnow LogoPetnow

Verify a pet

Check whether the images of a verification capture session match this pet (1:1). The server compares them in a background job. Poll `GET /v2/verification-jobs/{jobId}` with the returned `jobId` for the result.

POST
/v2/pets/{petId}:verify

Authorization

VendorApiKeyAuth
x-petnow-api-key<token>

An API key from the Petify Console. A server key can call every route. A client (app) key can only create capture sessions and upload images.

In: header

Path Parameters

petId*string

ID of the pet, as returned when the pet was created.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.petify.petnow.io/v2/pets/497f6eca-6276-4993-bfeb-53cbbbba6f08:verify" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"  }'
{
  "success": true,
  "data": {
    "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39"
  }
}

{
  "errors": [
    {
      "code": "PETNOWB2B10001"
    }
  ]
}

{
  "errors": [
    {
      "code": "PETNOWB2B10000"
    }
  ]
}

{
  "errors": [
    {
      "code": "PETNOWB2B10010"
    }
  ]
}

{
  "errors": [
    {
      "code": "PETNOWB2B20000"
    }
  ]
}