Organizations
Organization management endpoints
Get organization
Get the organization associated with the API key
X-API-KEY<token>
API key for authentication (prefix: sk_dev_ for development, sk_live_ for production)
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://api.sentra.xyz/api/v1/organizations"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"email": "user@example.com",
"isActive": true,
"metadata": {},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}{
"message": "Unauthorized",
"statusCode": 401
}{
"message": "Internal server error",
"statusCode": 500
}