Making an API Call
The following is a sample API call to get your organization info from your terminal or command prompt in Windows.
curl https://contracts.zoho.com/api/v1/admin/orginfo/ -X GET -H "Authorization:Zoho-oauthtoken 1000.67013ab3960787bcf3affae67e649fc0.83a789c859e040bf11e7d05f9c8b5ef6"
On success, the API call's response will be like the below.
{
"organizationinfo":
[
{
"country": String,
"zipCode": Long,
"apiName": String,
"address": String,
"city": String,
"zoid": Long,
"orgURL": String,
"webSite": String,
"phoneNumber": String,
"buildingNo": String,
"accountowner":
{
"displayName": String,
"emailId": String,
"id": Long
},
"name": String,
"currency":
{
"currency_name": String,
"currency_number": Integer,
"currency_symbol": String,
"currency_code": String,
"currency_decimal": Integer
},
"id": Long,
"state": String
}
]
}