SERV Alert EAPI
Authentication
Every API Request to the Title Alert API will require OAuth Authentication.
Authentication is granted by an Authentication End Point which will return a bearer token to be used in subsequent API requests. Bearer Tokens will have an expiry time.
Request
Message Body
Key | Value |
---|---|
client_id | (will be provided to you) |
client_secret | (will be provided to you) |
grant_type | client_credentials |
scope | https://servictoria.io/serv-alert-eapi |
Sample Request
curl --location '<URL to be Provided>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=<replace with client ID>' \
--data-urlencode 'client_secret=<replace with client secret>' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope==https://servictoria.io/serv-alert-eapi
Response
Key | Value |
---|---|
token_type | โBearerโ |
expires_in | Expiry time in seconds |
ext_expires_in | Expiry time of extension in seconds |
access_token | Access token to be used in subsequent requests. |