Describe the calling service account
curl --request GET \
--url https://www.presolve.com/api/v1/me \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://www.presolve.com/api/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.presolve.com/api/v1/me"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"serviceAccount": {
"id": "<string>",
"name": "<string>",
"keyPrefix": "<string>",
"scopes": [
"<string>"
],
"actingAttorneyId": "<string>",
"reportIncludeChildOrganizations": true,
"expiresAt": "<string>"
},
"organization": {
"id": "<string>",
"name": "<string>"
}
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}Platform
Describe the calling service account
Credential health-check: key id/name/prefix, granted scopes, acting attorney, expiry, and the owning organization. Any valid integration key may call this — no specific scope required.
Any valid integration API key may call this endpoint (no specific scope required). Rate tier: read.
GET
/
api
/
v1
/
me
Describe the calling service account
curl --request GET \
--url https://www.presolve.com/api/v1/me \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://www.presolve.com/api/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.presolve.com/api/v1/me"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"serviceAccount": {
"id": "<string>",
"name": "<string>",
"keyPrefix": "<string>",
"scopes": [
"<string>"
],
"actingAttorneyId": "<string>",
"reportIncludeChildOrganizations": true,
"expiresAt": "<string>"
},
"organization": {
"id": "<string>",
"name": "<string>"
}
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}