API REFERENCE
Get Account
On this page
/api/accounts/{id}Retrieve detailed account information by ID. Returns the account with associated profile info, emails, and wallet addresses.
Authentication
See the authentication guide for API key and account access requirements.
Request
curl --request GET \
--url 'https://api.recoupable.dev/api/accounts/YOUR_ID' \
--header 'x-api-key: YOUR_API_KEY'Replace the YOUR_ placeholders with your values. Required query parameters are included; optional parameters are listed below.
Parameters
Path parameters
idstringrequiredThe unique identifier (UUID) of the account
Responses
200Account retrieved successfully+
application/json
statusstring · enumrequiredStatus of the request
Values: "success"
accountobjectrequiredThe account details
Properties for account
idstringUnique identifier for the account
format: uuid
namestringAccount display name
imagestringnullableProfile image URL
instructionstringnullableCustom AI instructions for this account
knowledgesarray<Knowledge>nullableKnowledge base files attached to this account
Item properties for knowledges
urlstringURL to the knowledge file
namestringName of the knowledge file
typestringMIME type of the file
emailstringnullablePrimary email address
wallet_addressstringnullableConnected wallet address
404Account not found+
application/json
statusstring · enumrequiredStatus of the request
Values: "error"
messagestringrequiredError message describing what went wrong
Full specification
Download the OpenAPI file for complete schemas, constraints, and examples.
Download accounts.jsonView operation source
{
"description": "Retrieve detailed account information by ID. Returns the account with associated profile info, emails, and wallet addresses.",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The unique identifier (UUID) of the account",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
}
],
"responses": {
"200": {
"description": "Account retrieved successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetAccountResponse"
}
}
}
},
"404": {
"description": "Account not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AccountErrorResponse"
}
}
}
}
}
}