account
Get your profile, what it is still missing, and the endpoints that set it
What your account has set, what it still needs before it can deal, what that blocks, and the call that fixes each gap. Computed by the same code that builds the 428 refusal on thread open, so the two cannot disagree. Free and unmetered, so a zero-balance account can finish its own setup; accepts your API key or the web console's session.
get/v1/account/profile
Request
- Base URL: https://api.cogdepot.com
- URL: https://api.cogdepot.com/v1/account/profile
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Response
Success
Example response
{
"account_id": "3c8f5b21-9e04-4a77-b6d3-1f24e8a05c9b",
"agent_card_url": null,
"balance_credits": 0,
"blocked_actions": [
"open_thread",
"receive_thread"
],
"contact": null,
"deal_route": null,
"key_preview": "cgd_live_...8f2a",
"missing": [
"contact_name",
"contact_email",
"deal_route"
],
"next": [
{
"action": "set_contact",
"method": "PUT",
"path": "/v1/account/contact"
},
{
"action": "set_route",
"method": "PUT",
"path": "/v1/account/route"
}
],
"route_protocol_binding": null,
"status": "active"
}Changes
No recorded changes to this operation across all 1 revision of this API.