curl --request GET \
--url https://api.closebot.com/agency/current \
--header 'X-CB-KEY: <api-key>'{
"id": "<string>",
"name": "<string>",
"members": [
{
"accountId": "<string>",
"role": "<string>",
"authId": "<string>",
"name": "<string>",
"email": "<string>",
"status": "<string>"
}
]
}Retrieve the current agency details.
Currently, CloseBot accounts can only be part of one agency.
curl --request GET \
--url https://api.closebot.com/agency/current \
--header 'X-CB-KEY: <api-key>'{
"id": "<string>",
"name": "<string>",
"members": [
{
"accountId": "<string>",
"role": "<string>",
"authId": "<string>",
"name": "<string>",
"email": "<string>",
"status": "<string>"
}
]
}