Organizations
Organization settings management
Get current organization
AuthorizationBearer <token>
Session JWT or OAuth2 access token
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://api.expensicat.com/api/v1/organizations/current"{
"data": {
"id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"base_currency": "string",
"avatar_url": "string",
"created_at": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Update current organization
AuthorizationBearer <token>
Session JWT or OAuth2 access token
In: header
Request Body
application/json
name?string
logo?|
Response Body
application/json
application/json
application/json
curl -X PATCH "https://api.expensicat.com/api/v1/organizations/current" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"base_currency": "string",
"avatar_url": "string",
"created_at": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}