Search K
Appearance
Appearance
Using the field comparators documented here, you can easily perform delta loads by setting the epoch time variable as the last time you synced.
https://api.trial.ezyvet.com/v2/appointment?modified_at={"gt":"1745107200"}The ezyVet API operates under a WYSISYG framework and is constantly being improved which means some features that are available in the UI may not have API representation. Feature requests can be made by submitting a support ticket via the API Support email address. Whilst we will consider each request, we cannot guarentee each request will be fulfilled.
Check out the API documentation here.
An example cURL:
curl --location 'https://api.ezyvet.com/v1/oauth/access_token' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "string",
"client_secret": "string",
"partner_id": "string",
"scope": "read-appointment",
"grant_type": "client_credentials",
"site_uid": "string"
}'Take an existing ezyVet JWT access token and decode it using code.
WARNING
It's strongly encouraged to avoid using online tools such as https://www.jwt.io/ due to the sensitivity of the data being decoded.
Sample python code:
import jwt
import json
def decode_token(token: str):
"""
:param token: jwt token
:return:
"""
decoded_data = jwt.decode(jwt=token,options={"verify_signature": False})
print(json.dumps(decoded_data, indent=4))
token = input("Paste token here: ")
decode_token(token)Example output of above code:
{
"aud": "string",
"jti": "string",
"iat": 1765746831,
"nbf": 1765746831,
"exp": 1765790031,
"sub": "string",
"scopes": [
"read-appointment",
"write-appointment",
"create-booking"
],
"iss": "auth.ezyvet.com",
"grp": "apisandbox",
"url": "apisandbox.ezyvet.com",
"site_uid": "site_jtv5H29i8pLkXi1wjWJQL",
"zone": "usw2"
}INFO
All scopes for an integration record should be enabled to ensure proper functionality.
404 - Not found error when attempting to browse to it. Contact the Partnerships team for assistance.