Get API key project
curl --request GET \
--url https://api.sendrealm.com/project \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sendrealm.com/project', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendrealm.com/project"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": 200,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"capabilities": {}
}
}{
"status": 123,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>",
"issues": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>"
}
]
}
}Project
Get API Key Project
Identify the project and safe dashboard capabilities associated with an API key.
GET
/
project
Get API key project
curl --request GET \
--url https://api.sendrealm.com/project \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sendrealm.com/project', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendrealm.com/project"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": 200,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"capabilities": {}
}
}{
"status": 123,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>",
"issues": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>"
}
]
}
}Use this endpoint before creating dashboard resources when an integration needs to confirm its API-key scope.
The response includes the current project, team ID, and MCP-safe capability flags. API keys are scoped to one project, so no project ID is supplied in the request.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Select an authorized project for a multi-project or all-project API key. Omit it to use the key's default project.