agency
Retrieve agency information based on its token
get/v0/agencies/{agency_id}
Request
- Base URL: https://api.clubmed.com
- URL: https://api.clubmed.com/v0/agencies/{agency_id}
- Auth: OpenID Connect (https://auth.clubmed.com/.well-known/openid-configuration, scopes: openid, email, profile, clubmed)
Path parameters
agency_idstring required
Agency ID
Example:OPERA
Headers
authorizationstring required
Optional Access Token (bearer)
Example:Bearer aaaa.vbbbB.bbbb
Access Token (bearer)
x-api-keystring required
Api_key provided by ClubMed API team
Response
ok
Example response
{
"agency_id": "OPERA",
"name": "Agence Indir",
"agents": [
{
"salesman_id": "145287",
"first_name": "John",
"last_name": "Wick",
"travel_agent_usage_rate": "45%"
}
],
"data_usage": {
"travel_agent_usage_rate": "45%"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.