Members
Team member management
List members
AuthorizationBearer <token>
Session JWT or OAuth2 access token
In: header
Query Parameters
role?string
Value in
"owner" | "admin" | "member"Response Body
application/json
application/json
curl -X GET "https://api.expensicat.com/api/v1/members"{
"data": [
{
"id": "string",
"role": "owner",
"user": {
"id": "string",
"email": "string",
"full_name": "string",
"avatar_url": "string"
}
}
],
"meta": {
"count": 0,
"next_cursor": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Update member role
AuthorizationBearer <token>
Session JWT or OAuth2 access token
In: header
Path Parameters
userId*string
Request Body
application/json
role*string
Value in
"admin" | "member"Response Body
application/json
application/json
application/json
curl -X PATCH "https://api.expensicat.com/api/v1/members/string" \ -H "Content-Type: application/json" \ -d '{ "role": "admin" }'{
"data": {
"id": "string",
"role": "owner",
"user": {
"id": "string",
"email": "string",
"full_name": "string",
"avatar_url": "string"
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Remove member
AuthorizationBearer <token>
Session JWT or OAuth2 access token
In: header
Path Parameters
userId*string
Response Body
application/json
application/json
curl -X DELETE "https://api.expensicat.com/api/v1/members/string"Empty
{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}