This page summarizes the HTTP status codes you will see most often when integrating with the Trophy Application API. For endpoint-specific behaviour and response schemas, see the API reference.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Trophy Docs","colors":{"primary":"#4CC74A","light":"#4CC74A","dark":"#4CC74A"},"logo":{"light":"https://mintcdn.com/trophy/GbV1_8bgp0p544xO/logo/logo_light.svg?fit=max\u0026auto=format\u0026n=GbV1_8bgp0p544xO\u0026q=85\u0026s=d517feb8579a84d5b85e84a698cb2bc5","dark":"https://mintcdn.com/trophy/GbV1_8bgp0p544xO/logo/logo_dark.svg?fit=max\u0026auto=format\u0026n=GbV1_8bgp0p544xO\u0026q=85\u0026s=7a5efab1915055968320b1e039f7e4d3","href":"https://trophy.so"},"favicon":{"light":"https://mintcdn.com/trophy/ZaJmLDwndj1hGFNA/assets/logomark_light.svg?fit=max\u0026auto=format\u0026n=ZaJmLDwndj1hGFNA\u0026q=85\u0026s=494cbf14b6f140872bd56c36db3969c5","dark":"https://mintcdn.com/trophy/ZaJmLDwndj1hGFNA/assets/logomark_dark.svg?fit=max\u0026auto=format\u0026n=ZaJmLDwndj1hGFNA\u0026q=85\u0026s=4c7a3e6921621253a7e2f593b0c5cf56"},"api":{"openapi":["openapi/application.json","openapi/admin.json"]},"background":{"color":{"light":"#F9F9FB","dark":"#181818"}},"footer":{"socials":{"x":"https://x.com/trophylabs","github":"https://github.com/trophyso","youtube":"https://youtube.com/@trophylabsinc","linkedin":"https://linkedin.com/company/trophylabs"}},"seo":{"metatags":{"og:description":"Trophy is a developer-friendly platform for building gamified product experiences that retain users in any mobile or web app. Add features like achievements, streaks, points systems and leaderboards plus deliver personalized progress report and reactivation emails with no code.","og:image":"https://trophy.so/opengraph-image"}},"fonts":{"family":"Plus Jakarta Sans"},"icons":{"library":"lucide"},"integrations":{"ga4":{"measurementId":"G-R146N3CQHE"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://trophy.so/contact-sales?utm_source=docs\u0026utm_medium=navbar-links","label":"Book a call"},{"href":"https://app.trophy.so","label":"Dashboard"}],"primary":{"type":"button","label":"Get started","href":"https://app.trophy.so/sign-up?utm_source=docs\u0026utm_medium=navbar-links"}},"href":"getting-started/introduction"},{"language":"es","navbar":{"links":[{"href":"https://app.trophy.so","label":"Panel"}],"primary":{"type":"button","label":"Comenzar gratis","href":"https://app.trophy.so/sign-up?utm_source=docs\u0026utm_medium=navbar-links"}},"href":"es/getting-started/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trophy","hasAudioNarration":false,"actualSubdomain":"trophy","customDomains":["docs.trophy.so"],"gitSource":{"type":"github","owner":"trophyso","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6addfbb64b3b1f0c5edb8a13","collectionId":"d35d8030-f03f-4d6a-b32b-4aeb68450ae4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6addfbb64b3b1f0c5edb8a13"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6addfbb64b3b1f0c5edb8a13","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"en","tag":"Admin API","count":61},{"language":"es","tag":"API de Administración","count":61},{"language":"en","tag":"Application API","count":33},{"language":"es","tag":"API de Aplicación","count":33},{"language":"en","tag":"Points","count":29},{"language":"es","tag":"Puntos","count":29},{"language":"en","tag":"Webhooks","count":24},{"language":"es","tag":"Webhooks","count":24},{"language":"en","tag":"Home","count":23},{"language":"es","tag":"Inicio","count":23},{"language":"en","tag":"Overview","count":16},{"language":"en","tag":"Users","count":16},{"language":"es","tag":"Resumen","count":16},{"language":"es","tag":"Usuarios","count":16},{"language":"en","tag":"Streaks","count":13},{"language":"es","tag":"Rachas","count":13},{"language":"en","tag":"Leaderboards","count":11},{"language":"es","tag":"Clasificaciones","count":11},{"language":"en","tag":"Features","count":10},{"language":"es","tag":"Funciones","count":10}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@trophy.so","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"a.nav-tabs-item:has(img[src*=\"/icons/mcp.svg\"])::before{content:\"\";display:block;width:1rem;height:1rem;flex-shrink:0;background-color:currentColor;-webkit-mask:url(/icons/mcp.svg) center/contain no-repeat;mask:url(/icons/mcp.svg) center/contain no-repeat}a.nav-tabs-item img[src*=\"/icons/mcp.svg\"]{display:none}"}],"page":{"pagePath":"api-reference/errors","slug":"/api-reference/errors","pageMetadata":{"title":"Error Codes","description":"Common Trophy API HTTP status codes.","og:description":"Common Trophy API HTTP status codes.","icon":"circle-x","href":"/api-reference/errors"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Common Trophy API HTTP status codes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This page summarizes the HTTP status codes you will see most often when integrating with the Trophy Application API. For endpoint-specific behaviour and response schemas, see the `,_jsx(_components.a,{href:`/api-reference/introduction`,children:`API reference`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication-errors`,children:`Authentication errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When it happens`}),_jsx(_components.th,{children:`What to do`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`401 Unauthorized`})}),_jsxs(_components.td,{children:[`The `,_jsx(_components.code,{children:`X-API-KEY`}),` header is missing or invalid`]}),_jsxs(_components.td,{children:[`Create or rotate an application API key and verify `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`authentication`}),` set up`]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`rate-limiting`,children:`Rate limiting`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When it happens`}),_jsx(_components.th,{children:`What to do`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`429 Too Many Requests`})}),_jsxs(_components.td,{children:[`Your organisation exceeded the endpoint `,_jsx(_components.a,{href:`/api-reference/rate-limiting`,children:`rate limit`})]}),_jsx(_components.td,{children:`Back off and retry; request a higher limit if needed`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`retry-guidance`,children:`Retry guidance`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Retry `,_jsx(_components.code,{children:`429`}),` and `,_jsx(_components.code,{children:`5xx`}),` with exponential backoff.`]}),`\n`,_jsx(_components.li,{children:`On retry, send the same idempotency key for the same logical action so Trophy does not double-count.`}),`\n`,_jsxs(_components.li,{children:[`Do not retry `,_jsx(_components.code,{children:`401`}),` until the API key is fixed.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-support`,children:`Get Support`}),`\n`,_jsxs(_components.p,{children:[`Want to get in touch with the Trophy team? Reach out to us via `,_jsx(_components.a,{href:`mailto:support@trophy.so`,children:`email`}),`. We’re here to help!`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Error Codes","description":"Common Trophy API HTTP status codes.","og:description":"Common Trophy API HTTP status codes.","icon":"circle-x","href":"/api-reference/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication errors","slug":"authentication-errors","depth":2,"children":[]},{"title":"Rate limiting","slug":"rate-limiting","depth":2,"children":[]},{"title":"Retry guidance","slug":"retry-guidance","depth":2,"children":[]},{"title":"Get Support","slug":"get-support","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"trophy","siteName":"Trophy Docs","title":"Error Codes - Trophy Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/errors","matchLevel":0},"es":{"href":"/es/api-reference/errors","matchLevel":1}}},"lastModified":"2026-09-15T00:33:07.676Z","originalFileLocation":"api-reference/errors.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Common Trophy API HTTP status codes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trophy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Error Codes - Trophy Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Common Trophy API HTTP status codes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trophy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trophy.so/api-reference/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trophy.so/opengraph-image\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Error Codes - Trophy Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Common Trophy API HTTP status codes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trophy.so/opengraph-image\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trophy/t6NWEI6PzwUnssdx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trophy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4CC74A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trophy.so/api-reference/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/errors.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.trophy.so/api-reference/errors\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.trophy.so/es/api-reference/errors\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.trophy.so/api-reference/errors\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trophy.so/#organization\",\"name\":\"Trophy Docs\",\"url\":\"https://docs.trophy.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trophy/GbV1_8bgp0p544xO/logo/logo_light.svg?fit=max\u0026auto=format\u0026n=GbV1_8bgp0p544xO\u0026q=85\u0026s=d517feb8579a84d5b85e84a698cb2bc5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trophy.so#website\",\"name\":\"Trophy Docs\",\"url\":\"https://docs.trophy.so\",\"publisher\":{\"@id\":\"https://docs.trophy.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trophy.so/api-reference/errors#webpage\",\"url\":\"https://docs.trophy.so/api-reference/errors\",\"name\":\"Error Codes\",\"description\":\"Common Trophy API HTTP status codes.\",\"dateModified\":\"2026-09-15T00:33:07.676Z\",\"isPartOf\":{\"@id\":\"https://docs.trophy.so#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trophy.so/api-reference/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trophy.so/api-reference/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.trophy.so/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Error Codes\",\"item\":\"https://docs.trophy.so/api-reference/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.trophy.so/api-reference/errors#article\",\"headline\":\"Error Codes\",\"name\":\"Error Codes\",\"description\":\"Common Trophy API HTTP status codes.\",\"url\":\"https://docs.trophy.so/api-reference/errors\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trophy.so/api-reference/errors#webpage\"},\"image\":\"https://trophy.so/opengraph-image\",\"dateModified\":\"2026-09-15T00:33:07.676Z\",\"publisher\":{\"@id\":\"https://docs.trophy.so/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trophy.so#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trophy Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trophy Docs","nav":{"global":null,"languages":[{"language":"en","default":true,"navbar":{"links":[{"href":"https://trophy.so/contact-sales?utm_source=docs\u0026utm_medium=navbar-links","label":"Book a call"},{"href":"https://app.trophy.so","label":"Dashboard"}],"primary":{"type":"button","label":"Get started","href":"https://app.trophy.so/sign-up?utm_source=docs\u0026utm_medium=navbar-links"}},"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/getting-started/introduction"}]},{"tab":"Guides","icon":"rocket","pages":[{"title":"Guides","href":"/guides/how-to-build-an-achievements-feature"}]},{"tab":"Application API","icon":"globe","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","icon":"key","href":"/api-reference/authentication"},{"title":"Rate Limiting","icon":"circle-gauge","href":"/api-reference/rate-limiting"},{"title":"Idempotency","description":"Prevent unintended side effects when retrying requests with idempotency controls built into the Trophy API and SDKs.","icon":"repeat","href":"/api-reference/idempotency"},{"title":"Error Codes","icon":"circle-x","href":"/api-reference/errors"},{"title":"Client Libraries","description":"Official Trophy SDKs for Node, Go, Java, .NET, PHP, Python, and Ruby with install commands and GitHub repositories.","icon":"code-xml","href":"/api-reference/client-libraries"}]},{"group":"Achievements","pages":[{"title":"Mark an achievement as completed","openapi":"openapi/application.json POST /achievements/{key}/complete","href":"/api-reference/endpoints/achievements/mark-an-achievement-as-completed"},{"title":"Get all achievements and their completion stats","openapi":"openapi/application.json GET /achievements","href":"/api-reference/endpoints/achievements/all-achievements"}]},{"group":"Streaks","pages":[{"title":"Get the streak lengths of a list of users","openapi":"openapi/application.json GET /streaks","href":"/api-reference/endpoints/streaks/get-streaks"}]},{"group":"Events","pages":[{"title":"Submit a metric event","openapi":"openapi/application.json POST /metrics/{key}/event","href":"/api-reference/endpoints/events/submit-a-metric-event"}]},{"group":"Points","pages":[{"title":"Get a points system with its triggers","openapi":"openapi/application.json GET /points/{key}","href":"/api-reference/endpoints/points/get-points"},{"title":"Get boosts for a points system","openapi":"openapi/application.json GET /points/{key}/boosts","href":"/api-reference/endpoints/points/get-points-boosts"},{"title":"Get levels for a points system","openapi":"openapi/application.json GET /points/{key}/levels","href":"/api-reference/endpoints/points/get-points-levels"},{"title":"Get level summary for a points system","openapi":"openapi/application.json GET /points/{key}/level-summary","href":"/api-reference/endpoints/points/get-points-level-summary"},{"title":"Get a breakdown of users by points","openapi":"openapi/application.json GET /points/{key}/summary","href":"/api-reference/endpoints/points/get-points-summary"}]},{"group":"Leaderboards","pages":[{"title":"Get all leaderboards","openapi":"openapi/application.json GET /leaderboards","href":"/api-reference/endpoints/leaderboards/get-all-active-leaderboards"},{"title":"Get a single leaderboard","openapi":"openapi/application.json GET /leaderboards/{key}","href":"/api-reference/endpoints/leaderboards/get-leaderboard"}]},{"group":"Users","pages":[{"title":"Identify a user","openapi":"openapi/application.json PUT /users/{id}","href":"/api-reference/endpoints/users/identify-a-user"},{"title":"Create a new user","openapi":"openapi/application.json POST /users","href":"/api-reference/endpoints/users/create-a-user"},{"title":"Get a single user","openapi":"openapi/application.json GET /users/{id}","href":"/api-reference/endpoints/users/get-a-single-user"},{"title":"Update a user","openapi":"openapi/application.json PATCH /users/{id}","href":"/api-reference/endpoints/users/update-a-user"},{"title":"Get all metrics for a user","openapi":"openapi/application.json GET /users/{id}/metrics","href":"/api-reference/endpoints/users/get-all-metrics-for-a-user"},{"title":"Get a single metric for a user","openapi":"openapi/application.json GET /users/{id}/metrics/{key}","href":"/api-reference/endpoints/users/get-a-single-metric-for-a-user"},{"title":"Get a summary of metric events over time","openapi":"openapi/application.json GET /users/{id}/metrics/{key}/event-summary","href":"/api-reference/endpoints/users/get-a-single-metric-event-summary-for-a-user"},{"title":"Get a user's achievements","openapi":"openapi/application.json GET /users/{id}/achievements","href":"/api-reference/endpoints/users/get-a-users-completed-achievements"},{"title":"Get a user's streak status","openapi":"openapi/application.json GET /users/{id}/streak","href":"/api-reference/endpoints/users/get-a-users-streak"},{"title":"Get a user's points data","openapi":"openapi/application.json GET /users/{id}/points/{key}","href":"/api-reference/endpoints/users/get-a-users-points"},{"title":"Get a user's active points boosts","openapi":"openapi/application.json GET /users/{id}/points/{key}/boosts","href":"/api-reference/endpoints/users/get-a-users-points-boosts"},{"title":"Get a summary of points events over time","openapi":"openapi/application.json GET /users/{id}/points/{key}/event-summary","href":"/api-reference/endpoints/users/get-a-users-points-summary"},{"title":"Get a user's leaderboard data","openapi":"openapi/application.json GET /users/{id}/leaderboards/{key}","href":"/api-reference/endpoints/users/get-a-users-leaderboard"},{"title":"Get a user's wrapped data","openapi":"openapi/application.json GET /users/{id}/wrapped","href":"/api-reference/endpoints/users/get-a-users-wrapped"},{"title":"Get a user's preferences","openapi":"openapi/application.json GET /users/{id}/preferences","href":"/api-reference/endpoints/users/get-user-preferences"},{"title":"Update a user's preferences","openapi":"openapi/application.json PATCH /users/{id}/preferences","href":"/api-reference/endpoints/users/update-user-preferences"}]}]},{"tab":"Admin API","icon":"globe-lock","pages":[{"title":"Admin API","href":"/admin-api/introduction"}]},{"tab":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/webhooks/introduction"}]},{"tab":"MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/trophy/icons/mcp.svg","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"UI Kit","icon":"shapes","pages":[{"title":"UI Kit","href":"/uikit/overview"}]}],"global":{"anchors":[{"anchor":"Security","icon":"shield-check","href":"https://trust.trophy.so"},{"anchor":"Status","icon":"radio-tower","href":"https://status.trophy.so"},{"anchor":"llms.txt","icon":"bot","href":"https://docs.trophy.so/llms-full.txt"},{"anchor":"Help","icon":"life-buoy","href":"mailto:support@trophy.so"}]}},{"language":"es","navbar":{"links":[{"href":"https://app.trophy.so","label":"Panel"}],"primary":{"type":"button","label":"Comenzar gratis","href":"https://app.trophy.so/sign-up?utm_source=docs\u0026utm_medium=navbar-links"}},"pages":[{"title":"es","href":"/es/api-reference/errors"}]}]},"title":"Error Codes - Trophy Docs","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":[],"chunks":[]}