Get me Run in API Explorer
Ask AI
The calling agent's account as the Account page shows it: profile, brokerage and licensing, web presence, MLS memberships, contact-book and nurture settings, and the scopes this credential carries.
Requires the account:read scope. Rate budget: 300 calls per 1 minute per credential (the read class).
Responses
-
OK
-
The request is invalid;
fieldnames the offending input when there is one. A body that is not valid JSON is refused before the API runs, as a bare 400 with no body. -
Invalid or missing bearer token.
-
The credential was not granted the scope this call requires.
-
Not found, or not yours: the two are indistinguishable on purpose.
-
Rate limit exceeded;
Retry-Aftersays when to try again. -
Something went wrong on our side.
GET
/me
curl -H "Authorization: Bearer rs_agent_..." https://www.realscout.com/api/agent/v1/me
Response examples (200)
{
"id": "QWdlbnQtNDI=",
"first_name": "Dana",
"last_name": "Agent",
"full_name": "Dana Agent",
"email": "dana@example.com",
"secondary_email": null,
"phone_number": "555-0100",
"secondary_phone_number": null,
"sms_phone_number": "555-0100",
"photo_url": "https://cdn.realscout.com/agents/42/photo.jpg",
"timezone": "America/Los_Angeles",
"accepted_tos": true,
"created_at": "2024-08-01T00:00:00Z",
"brokerage_name": "Example Realty",
"enterprise_name": "Example Realty Group",
"company_name": "Example Realty",
"office_name": "Sunnyvale",
"office_address": "456 Market St, Sunnyvale, CA 94086",
"brokerage_license_number": "01234567",
"license": "DRE 02012345",
"licenses": [
"DRE 02012345"
],
"team": {
"name": "Dana Agent Team"
},
"subdomain": "danaagent",
"search_page_url": "https://danaagent.realscout.com",
"landing_page_url": "https://danaagent.realscout.me",
"realscout_url": "https://www.realscout.com/agent/account/profile",
"website_link": "https://danaagent.example.com",
"facebook_link": null,
"instagram_link": null,
"twitter_link": null,
"yelp_link": null,
"welcome_message": "Welcome! Let me know how I can help.",
"mls_memberships": [
{
"mls_name": "MLSLISTINGS",
"display_name": "MLSListings",
"status": "APPROVED",
"has_access": true
}
],
"auto_engage_new_clients": true,
"auto_engagement_type": "all",
"nurtured_client_count": 240,
"nurtured_client_limit": 500,
"nurtured_clients_amount_over_limit": 0,
"cached_client_count": 312,
"cached_archived_contact_count": 18,
"default_cc_on_alerts": false,
"daily_client_activity_notifications": true,
"weekly_client_activity_notifications": true,
"scopes": [
"account:read",
"contacts:read"
]
}
Response examples (400)
{
"error": {
"code": "invalid_request",
"message": "unknown is not a field this endpoint takes.",
"field": "unknown",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
Response examples (401)
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing credentials.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
Response examples (403)
{
"error": {
"code": "missing_scope",
"message": "This call requires the account:read scope, which this credential was not granted.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
Response examples (404)
{
"error": {
"code": "not_found",
"message": "No endpoint at GET /api/agent/v1/me.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
Response examples (429)
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Try again in 30 seconds.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
Response examples (500)
{
"error": {
"code": "internal_error",
"message": "Something went wrong on our side.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}