{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
For a forwarding rule on your phone or in your mail: you do not need to know which run asked. The run signing in with this login takes the code. With none signing in yet, it is kept 10 minutes, and only a code that arrived after the sign-in started is used.Send just the code, or the whole message (up to 2,000 characters). The code is read out of it. The answer is 202 with {"login_id": "...", "accepted": true}.404 for a login that is not yours. 422 when no code is found in the text. Needs logins:use.
curl -X POST https://api.valendata.com/v1/logins/$LOGIN_ID/code \ -H "Authorization: Bearer $VALENDATA_API_KEY" -H "Content-Type: application/json" \ -d '{"code": "Your Example code is 482913. It expires in 10 minutes."}'
To set this up on an iPhone, make a Shortcuts automation: When I get a message containingcode, then Get contents of URL with method POST, the Authorization header, and a JSON body whose code is the message. On Android, use any automation app that can send a web request when a text arrives. The Vault shows each login’s exact address under How sign-in codes work. See Two-step sign-in.
Authorizations
ApiKeyAuthApiKeyHeader
Authorization
string
header
required
API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.
Headers
Idempotency-Key
string
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
Required string length: 1 - 255
Path Parameters
login_id
string
required
Body
application/json
code
string
required
The sign-in code, or the whole message it came in (the code is read out of it).
{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Valendata","colors":{"primary":"#059669","light":"#10B981","dark":"#047857"},"logo":{"light":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f","dark":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/dark.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=1ea5c3396fd1e49155699be16454b976","href":"https://valendata.com/"},"favicon":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/favicon.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=b944978557448233e2ed6a35d1330a18","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:info@valendata.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://valendata.com"}},"footer":{"socials":{"website":"https://valendata.com"}},"fonts":{"family":"Geist"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"valendata","hasAudioNarration":false,"actualSubdomain":"valendata","customDomains":["docs.valendata.com"],"gitSource":{"type":"github","owner":"prinzeval","repo":"valendata-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0211d21d4d5684bbe657cf","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API reference","count":135},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Skills","count":16},{"language":"default","tag":"Concepts","count":13},{"language":"default","tag":"Runs","count":12},{"language":"default","tag":"Workflow triggers","count":10},{"language":"default","tag":"How-to guides","count":10},{"language":"default","tag":"Logins","count":9},{"language":"default","tag":"Skill versions","count":9},{"language":"default","tag":"Workflows","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"full-page-search","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":"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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--font-sans: \"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;--font-mono: \"Geist Mono\", \"SF Mono\", Consolas, monospace}body,html,h1,h2,h3,h4,h5,h6,p,span,a,button,input,select,textarea{font-family:var(--font-sans)!important}code,pre,kbd,samp{font-family:var(--font-mono)!important}h1,h2,h3,h4,h5,h6{letter-spacing:-0.025em!important}html:not(.dark) h1,html:not(.dark) h2,html:not(.dark) h3,html:not(.dark) h4,html:not(.dark) h5,html:not(.dark) h6{color:#0e0f10!important}html:not(.dark) strong,html:not(.dark) b{color:#0e0f10!important;font-weight:700!important}html:not(.dark) p,html:not(.dark) li{color:#334155!important}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#f8fafc!important}html.dark strong,html.dark b{color:#ffffff!important;font-weight:700!important}html.dark p,html.dark li{color:#cbd5e1!important}div[class*=\"pointer-events-none\"][class*=\"bg-gradient-to-b\"]{display:none!important}img.nav-logo{height:2rem!important;max-width:none!important}button[aria-label*=\"Ask AI\"i],button[aria-label*=\"AI\"i],button[aria-label*=\"Assistant\"i],button:has(svg[data-icon=\"sparkles\"]),button:has(svg[data-icon=\"wand-magic-sparkles\"]),div[class*=\"ai-widget\"],div[class*=\"ask-ai\"],div[class*=\"ai-chat\"]{display:none!important}"}]}
{"page":{"pagePath":"api-reference/logins/send-code","slug":"/api-reference/logins/send-code","pageMetadata":{"title":"Send a code for a login","description":"Pass a texted sign-in code to whichever run is signing in with this login.","openapi":"POST /v1/logins/{login_id}/code","href":"/api-reference/logins/send-code"},"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: \"Pass a texted sign-in code to whichever run is signing in with this login.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`For a forwarding rule on your phone or in your mail: you do not need to know which run asked. The run signing in with this login takes the code. With none signing in yet, it is kept 10 minutes, and only a code that arrived after the sign-in started is used.`}),`\n`,_jsxs(_components.p,{children:[`Send just the code, or the whole message (up to 2,000 characters). The code is read out of it. The answer is `,_jsx(_components.code,{children:`202`}),` with `,_jsx(_components.code,{children:`{\"login_id\": \"...\", \"accepted\": true}`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`404`}),` for a login that is not yours. `,_jsx(_components.code,{children:`422`}),` when no code is found in the text. Needs `,_jsx(_components.code,{children:`logins:use`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.valendata.com/v1/logins/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LOGIN_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/code`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$VALENDATA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"code\": \"Your Example code is 482913. It expires in 10 minutes.\"}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To set this up on an iPhone, make a Shortcuts automation: `,_jsx(_components.strong,{children:`When I get a message containing`}),` `,_jsx(_components.code,{children:`code`}),`, then `,_jsx(_components.strong,{children:`Get contents of URL`}),` with method `,_jsx(_components.code,{children:`POST`}),`, the `,_jsx(_components.code,{children:`Authorization`}),` header, and a JSON body whose `,_jsx(_components.code,{children:`code`}),` is the message. On Android, use any automation app that can send a web request when a text arrives. The `,_jsx(_components.strong,{children:`Vault`}),` shows each login’s exact address under `,_jsx(_components.strong,{children:`How sign-in codes work`}),`. See `,_jsx(_components.a,{href:`/concepts/logins-and-browser-profiles#two-step-sign-in`,children:`Two-step sign-in`}),`.`]})]})}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":"Send a code for a login","description":"Pass a texted sign-in code to whichever run is signing in with this login.","openapi":"POST /v1/logins/{login_id}/code","href":"/api-reference/logins/send-code"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Logins"],"summary":"Send a code for a login","description":"Pass a texted sign-in code to whichever run is signing in with this login.","operationId":"send_login_code","security":["c1bd2ae2-c349-4e6e-9d54-ca357e437f33","7bbcf7fe-afcf-4dc0-96e7-02c8e203079c"],"parameters":["21a3441f-c14a-4896-b5e6-1fadcaa0ce08","e2d98909-ace8-4d98-84b9-f286432923ef"],"requestBody":"b036159e-95e5-42fe-91ce-3247848055fe","responses":{"202":"afd3f22a-0ec4-405f-b2f1-2cc561feb9a1","400":"be8cbbcb-c736-424f-9813-32da592d95f9","401":"17f9f574-35ec-4c01-b9b9-d7a015017978","403":"32f8ef3e-638c-454a-8001-9eec7be1fbd0","404":"d9a6f02c-3bae-4e34-83e9-56221b25c92b","409":"921cf652-5a24-489f-907f-53de89f45b68","422":"513fc29f-1263-4a13-9eb0-59e4dfd7378b","429":"18dae54d-a67a-49b4-9648-c38d35863056","500":"a1d89f94-0044-4b2d-95b5-6a252b80868b"},"method":"post","type":"path","servers":["c84457e9-c3bb-411e-99c4-4891ba75f452"],"path":"/v1/logins/{login_id}/code","baseUrlOptions":["https://api.valendata.com"],"title":"Send a code for a login","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"21a3441f-c14a-4896-b5e6-1fadcaa0ce08":{"name":"login_id","in":"path","required":true,"schema":{"type":"string","title":"Login Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"e2d98909-ace8-4d98-84b9-f286432923ef":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","uniqueKey":"","typeLabel":"string"},"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","example":"order-1234"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"code":{"type":"string","maxLength":2000,"minLength":4,"title":"Code","description":"The sign-in code, or the whole message it came in (the code is read out of it).","isRequired":true,"uniqueKey":"code","typeLabel":"string"}},"type":"object","required":["code"],"title":"LoginCode","uniqueKey":"","typeLabel":"LoginCode · object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"afd3f22a-0ec4-405f-b2f1-2cc561feb9a1":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"login_id":{"type":"string","title":"Login Id","isRequired":true,"uniqueKey":"login_id","typeLabel":"string"},"accepted":{"type":"boolean","title":"Accepted","default":true,"uniqueKey":"accepted","typeLabel":"boolean"}},"type":"object","required":["login_id"],"title":"LoginCodeAccepted","uniqueKey":"","typeLabel":"LoginCodeAccepted · object"},"examples":{"Example":{"title":"Example","value":{"login_id":"\u003cstring>","accepted":true}}},"exampleType":"generated"}},"headers":{"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when this is the stored answer to an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}},"exampleType":"generated"},"be8cbbcb-c736-424f-9813-32da592d95f9":{"description":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"17f9f574-35ec-4c01-b9b9-d7a015017978":{"description":"The API key is missing, malformed, revoked, or expired.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"32f8ef3e-638c-454a-8001-9eec7be1fbd0":{"description":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"d9a6f02c-3bae-4e34-83e9-56221b25c92b":{"description":"It does not exist, or it is not yours to see.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"921cf652-5a24-489f-907f-53de89f45b68":{"description":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"513fc29f-1263-4a13-9eb0-59e4dfd7378b":{"description":"A field is invalid (`param` names it), or the Idempotency-Key was used with a different request.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"18dae54d-a67a-49b4-9648-c38d35863056":{"description":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"a1d89f94-0044-4b2d-95b5-6a252b80868b":{"description":"Something broke on our side. Retry; credits a run already used are not given back.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"c1bd2ae2-c349-4e6e-9d54-ca357e437f33":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"}},"7bbcf7fe-afcf-4dc0-96e7-02c8e203079c":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"}}},"servers":{"c84457e9-c3bb-411e-99c4-4891ba75f452":{"url":"https://api.valendata.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"x-api-key","type":"string","description":"The same API key in the `x-api-key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"x-api-key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"openapispec.json"},"subdomain":"valendata","siteName":"Valendata","title":"Send a code for a login - Valendata","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T20:35:21.576Z","originalFileLocation":"api-reference/logins/send-code.mdx"},"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=\"light\"}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=\"Pass a texted sign-in code to whichever run is signing in with this login.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Valendata\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_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/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a code for a login - Valendata\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pass a texted sign-in code to whichever run is signing in with this login.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Valendata\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.valendata.com/api-reference/logins/send-code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Logins\u0026amp;title=Send+a+code+for+a+login\u0026amp;description=Pass+a+texted+sign-in+code+to+whichever+run+is+signing+in+with+this+login.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=1687c5560a6c5608b489c6955570fea0e7efd9ac2b2595d88ae654022a96644d\">\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=\"Send a code for a login - Valendata\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pass a texted sign-in code to whichever run is signing in with this login.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Logins\u0026amp;title=Send+a+code+for+a+login\u0026amp;description=Pass+a+texted+sign-in+code+to+whichever+run+is+signing+in+with+this+login.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=1687c5560a6c5608b489c6955570fea0e7efd9ac2b2595d88ae654022a96644d\">\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/valendata/XZEEt82cwKhlpZb_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Valendata\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#059669\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.valendata.com/api-reference/logins/send-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/logins/send-code.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.valendata.com/#organization\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.valendata.com#website\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.valendata.com/api-reference/logins/send-code#webpage\",\"url\":\"https://docs.valendata.com/api-reference/logins/send-code\",\"name\":\"Send a code for a login\",\"description\":\"Pass a texted sign-in code to whichever run is signing in with this login.\",\"dateModified\":\"2026-11-11T20:35:21.576Z\",\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.valendata.com/api-reference/logins/send-code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.valendata.com/api-reference/logins/send-code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Logins\",\"item\":\"https://docs.valendata.com/api-reference/logins/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send a code for a login\",\"item\":\"https://docs.valendata.com/api-reference/logins/send-code\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.valendata.com/api-reference/logins/send-code#apireference\",\"headline\":\"Send a code for a login\",\"name\":\"Send a code for a login\",\"description\":\"Pass a texted sign-in code to whichever run is signing in with this login.\",\"url\":\"https://docs.valendata.com/api-reference/logins/send-code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.valendata.com/api-reference/logins/send-code#webpage\"},\"dateModified\":\"2026-11-11T20:35:21.576Z\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Valendata\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Valendata\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/logins/send-code.md","siteName":"Valendata","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"API overview","sidebarTitle":"Overview","href":"/api-reference/introduction"},{"title":"Authentication and scopes","href":"/api-reference/authentication"},{"title":"Errors and limits","href":"/api-reference/errors"},{"title":"Pagination and idempotency","href":"/api-reference/pagination-and-idempotency"}]},{"group":"Universal web API","icon":"earth-americas","pages":[{"title":"Universal web API","href":"/api-reference/web-api"}]},{"group":"Skills","icon":"bolt","pages":[{"title":"List skills","openapi":"GET /v1/skills","href":"/api-reference/skills/list"},{"title":"List skill categories","openapi":"GET /v1/skills/categories","href":"/api-reference/skills/list-categories"},{"title":"Create a skill","openapi":"POST /v1/skills","href":"/api-reference/skills/create"},{"title":"Get a skill creation","openapi":"GET /v1/skill-creations/{creation_id}","href":"/api-reference/skills/get-creation"},{"title":"List skill creations","openapi":"GET /v1/skill-creations","href":"/api-reference/skills/list-creations"},{"title":"Cancel a skill creation","api":"POST https://api.valendata.com/v1/skill-creations/{creation_id}/cancel","href":"/api-reference/skills/cancel-creation"},{"title":"Get a skill","openapi":"GET /v1/skills/{slug}","href":"/api-reference/skills/get"},{"title":"Clone a skill","openapi":"POST /v1/skills/{slug}/clone","href":"/api-reference/skills/clone"},{"title":"Update a skill","openapi":"PATCH /v1/skills/{slug}","href":"/api-reference/skills/update"},{"title":"Delete a skill","openapi":"DELETE /v1/skills/{slug}","href":"/api-reference/skills/delete"},{"title":"Delete unused archived skills","openapi":"POST /v1/skills/archived/delete-unused","href":"/api-reference/skills/delete-unused-archived"},{"title":"Get a skill's health","openapi":"GET /v1/skills/{slug}/health","href":"/api-reference/skills/health"},{"title":"Get a skill's speed","openapi":"GET /v1/skills/{slug}/speed","href":"/api-reference/skills/speed"},{"title":"Try a faster tier","openapi":"POST /v1/skills/{slug}/speed/try","href":"/api-reference/skills/try-speed"},{"title":"Get a speed trial","openapi":"GET /v1/skills/{slug}/speed/trials/{trial_id}","href":"/api-reference/skills/get-speed-trial"},{"title":"Use a tier","openapi":"POST /v1/skills/{slug}/speed/use","href":"/api-reference/skills/use-speed"}]},{"group":"Marketplace","icon":"store","pages":[{"title":"Find a skill for a task","openapi":"GET /v1/marketplace/search","href":"/api-reference/marketplace/search"},{"title":"List marketplace categories","openapi":"GET /v1/marketplace/categories","href":"/api-reference/marketplace/list-categories"}]},{"group":"Sites","icon":"globe","pages":[{"title":"List proven sites","api":"GET https://api.valendata.com/v1/sites/proven","href":"/api-reference/sites/list-proven"},{"title":"Get a site","api":"GET https://api.valendata.com/v1/sites/{domain}","href":"/api-reference/sites/get"},{"title":"Create a site request","api":"POST https://api.valendata.com/v1/site-requests","href":"/api-reference/sites/create-request"},{"title":"List your site requests","api":"GET https://api.valendata.com/v1/site-requests/mine","href":"/api-reference/sites/list-requests"},{"title":"Remove your vote","api":"DELETE https://api.valendata.com/v1/site-requests/{request_id}/vote","href":"/api-reference/sites/delete-vote"}]},{"group":"Site APIs","icon":"sitemap","pages":[{"title":"List your site APIs","api":"GET https://api.valendata.com/v1/apis","href":"/api-reference/site-apis/list"},{"title":"Get a site API","api":"GET https://api.valendata.com/v1/apis/{domain}","href":"/api-reference/site-apis/get"},{"title":"Run an endpoint","api":"POST https://api.valendata.com/v1/apis/{domain}/{endpoint_name}/run","href":"/api-reference/site-apis/run"},{"title":"Rename an endpoint","api":"PATCH https://api.valendata.com/v1/apis/{domain}/endpoints/{skill_id}","href":"/api-reference/site-apis/rename-endpoint"},{"title":"Set a site's defaults","api":"PUT https://api.valendata.com/v1/apis/{domain}/defaults","href":"/api-reference/site-apis/update-defaults"}]},{"group":"Runs","icon":"play","pages":[{"title":"List runs","openapi":"GET /v1/runs","href":"/api-reference/runs/list"},{"title":"Run a skill and wait","openapi":"POST /v1/skills/{slug}/run","href":"/api-reference/runs/run-skill"},{"title":"Start a skill run","openapi":"POST /v1/skills/{slug}/runs","href":"/api-reference/runs/start-skill-run"},{"title":"List skill runs","openapi":"GET /v1/skills/{slug}/runs","href":"/api-reference/runs/list-skill-runs"},{"title":"Run a workflow and wait","openapi":"POST /v1/workflows/{slug}/run","href":"/api-reference/runs/run-workflow"},{"title":"Start a workflow run","openapi":"POST /v1/workflows/{slug}/runs","href":"/api-reference/runs/start-workflow-run"},{"title":"List workflow runs","openapi":"GET /v1/workflows/{slug}/runs","href":"/api-reference/runs/list-workflow-runs"},{"title":"Get a run","openapi":"GET /v1/runs/{run_id}","href":"/api-reference/runs/get"},{"title":"Get a run's changes","openapi":"GET /v1/runs/{run_id}/changes","href":"/api-reference/runs/get-changes"},{"title":"Cancel a run","openapi":"POST /v1/runs/{run_id}/cancel","href":"/api-reference/runs/cancel"},{"title":"Resume a run","openapi":"POST /v1/runs/{run_id}/resume","href":"/api-reference/runs/resume"},{"title":"Send a sign-in code","openapi":"POST /v1/runs/{run_id}/otp","href":"/api-reference/runs/send-code"}]},{"group":"Batches","icon":"list-check","pages":[{"title":"Estimate a batch","openapi":"POST /v1/skills/{slug}/batches/estimate","href":"/api-reference/batches/estimate"},{"title":"Start a batch","openapi":"POST /v1/skills/{slug}/batches","href":"/api-reference/batches/start"},{"title":"List batches","openapi":"GET /v1/batches","href":"/api-reference/batches/list"},{"title":"Get a batch","openapi":"GET /v1/batches/{batch_id}","href":"/api-reference/batches/get"},{"title":"List a batch's inputs","openapi":"GET /v1/batches/{batch_id}/items","href":"/api-reference/batches/list-items"},{"title":"Get a batch's rows","openapi":"GET /v1/batches/{batch_id}/rows","href":"/api-reference/batches/get-rows"},{"title":"Download a batch's rows as CSV","openapi":"GET /v1/batches/{batch_id}/rows.csv","href":"/api-reference/batches/get-rows-csv"},{"title":"Cancel a batch","openapi":"POST /v1/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel"}]},{"group":"Skill versions","icon":"code-branch","pages":[{"title":"List versions","openapi":"GET /v1/skills/{slug}/versions","href":"/api-reference/versions/list"},{"title":"Compare two versions","openapi":"GET /v1/skills/{slug}/versions/{a}/diff/{b}","href":"/api-reference/versions/diff"},{"title":"Restore a version","openapi":"POST /v1/skills/{slug}/versions/{n}/restore","href":"/api-reference/versions/restore"},{"title":"Pin a version","openapi":"PUT /v1/skills/{slug}/pin","href":"/api-reference/versions/pin"},{"title":"Check for a marketplace update","openapi":"GET /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-check"},{"title":"Take a marketplace update","openapi":"POST /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-take"},{"title":"Keep your version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/keep-mine","href":"/api-reference/versions/marketplace-update-keep-mine"},{"title":"Take the original's version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/use-theirs","href":"/api-reference/versions/marketplace-update-use-theirs"},{"title":"Set automatic marketplace updates","openapi":"PUT /v1/skills/{slug}/marketplace-update/settings","href":"/api-reference/versions/marketplace-update-settings"}]},{"group":"Improvements","icon":"wrench","pages":[{"title":"Improve a skill","openapi":"POST /v1/skills/{slug}/improve","href":"/api-reference/improvements/improve"},{"title":"Get an improvement","openapi":"GET /v1/skill-improvements/{improvement_id}","href":"/api-reference/improvements/get"},{"title":"List a skill's improvements","openapi":"GET /v1/skills/{slug}/improvements","href":"/api-reference/improvements/list"},{"title":"Talk to a skill","openapi":"POST /v1/skills/{slug}/doctor","href":"/api-reference/improvements/talk"},{"title":"Read a skill's chat","openapi":"GET /v1/skills/{slug}/doctor","href":"/api-reference/improvements/chat"},{"title":"Stop a skill's doctor","openapi":"POST /v1/skills/{slug}/doctor/stop","href":"/api-reference/improvements/stop"}]},{"group":"Schedules","icon":"clock","pages":[{"title":"List schedules","openapi":"GET /v1/schedules","href":"/api-reference/schedules/list"},{"title":"Get a schedule","openapi":"GET /v1/schedules/{schedule_id}","href":"/api-reference/schedules/get"},{"title":"List a skill's schedules","openapi":"GET /v1/skills/{slug}/schedules","href":"/api-reference/schedules/list-skill-schedules"},{"title":"Schedule a skill","openapi":"POST /v1/skills/{slug}/schedules","href":"/api-reference/schedules/create-skill-schedule"},{"title":"List a workflow's schedules","openapi":"GET /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/list-workflow-schedules"},{"title":"Schedule a workflow","openapi":"POST /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/create-workflow-schedule"},{"title":"Update a schedule","openapi":"PATCH /v1/schedules/{schedule_id}","href":"/api-reference/schedules/update"},{"title":"Delete a schedule","openapi":"DELETE /v1/schedules/{schedule_id}","href":"/api-reference/schedules/delete"}]},{"group":"Workflows","icon":"diagram-project","pages":[{"title":"List workflows","openapi":"GET /v1/workflows","href":"/api-reference/workflows/list"},{"title":"Create a workflow","openapi":"POST /v1/workflows","href":"/api-reference/workflows/create"},{"title":"Get a workflow","openapi":"GET /v1/workflows/{slug}","href":"/api-reference/workflows/get"},{"title":"Clone a workflow","openapi":"POST /v1/workflows/{slug}/clone","href":"/api-reference/workflows/clone"},{"title":"Update a workflow","openapi":"PATCH /v1/workflows/{slug}","href":"/api-reference/workflows/update"},{"title":"Delete a workflow","openapi":"DELETE /v1/workflows/{slug}","href":"/api-reference/workflows/delete"},{"title":"Read a workflow's chat","openapi":"GET /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/chat"},{"title":"Talk to a workflow","openapi":"POST /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/talk"},{"title":"Stop a workflow's doctor","openapi":"POST /v1/workflows/{slug}/doctor/stop","href":"/api-reference/workflows/stop-doctor"}]},{"group":"Workflow versions","pages":[{"title":"List workflow versions","openapi":"GET /v1/workflows/{slug}/versions","href":"/api-reference/workflow-versions/list"},{"title":"Compare two workflow versions","openapi":"GET /v1/workflows/{slug}/versions/{a}/diff/{b}","href":"/api-reference/workflow-versions/diff"},{"title":"Restore a workflow version","openapi":"POST /v1/workflows/{slug}/versions/{n}/restore","href":"/api-reference/workflow-versions/restore"}]},{"group":"Workflow triggers","icon":"bolt-lightning","pages":[{"title":"Create a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-create"},{"title":"Get a workflow webhook","openapi":"GET /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-get"},{"title":"Update a workflow webhook","openapi":"PATCH /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-update"},{"title":"Rotate a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook/rotate","href":"/api-reference/workflow-triggers/webhook-rotate"},{"title":"List a workflow webhook's deliveries","openapi":"GET /v1/workflows/{slug}/webhook/deliveries","href":"/api-reference/workflow-triggers/webhook-deliveries"},{"title":"Delete a workflow webhook","openapi":"DELETE /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-delete"},{"title":"Start a workflow on an app event","openapi":"PUT /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-set"},{"title":"Get a workflow's app event","openapi":"GET /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-get"},{"title":"Pause or resume a workflow's app event","openapi":"PATCH /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-update"},{"title":"Remove a workflow's app event","openapi":"DELETE /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-delete"}]},{"group":"Logins","icon":"key","pages":[{"title":"List logins","openapi":"GET /v1/logins","href":"/api-reference/logins/list"},{"title":"Create a login","openapi":"POST /v1/logins","href":"/api-reference/logins/create"},{"title":"Get a login","openapi":"GET /v1/logins/{login_id}","href":"/api-reference/logins/get"},{"title":"Update a login","openapi":"PATCH /v1/logins/{login_id}","href":"/api-reference/logins/update"},{"title":"Delete a login","openapi":"DELETE /v1/logins/{login_id}","href":"/api-reference/logins/delete"},{"title":"List browser profiles","openapi":"GET /v1/profiles","href":"/api-reference/logins/list-profiles"},{"title":"Get a question card","openapi":"GET /v1/questions/{card_id}","href":"/api-reference/logins/get-question"},{"title":"Answer a question card","description":"Say which email a site account is registered with; the login is saved to your Vault at once.","openapi":"POST /v1/questions/{card_id}/answer","href":"/api-reference/logins/answer-question"},{"title":"Send a code for a login","openapi":"POST /v1/logins/{login_id}/code","href":"/api-reference/logins/send-code"}]},{"group":"Connected apps","icon":"plug","pages":[{"title":"List apps","description":"Apps you can connect, each with whether you already have.","openapi":"GET /v1/apps","href":"/api-reference/apps/list"},{"title":"List connected apps","openapi":"GET /v1/apps/connected","href":"/api-reference/apps/list-connected"},{"title":"Get an app","openapi":"GET /v1/apps/{app}","href":"/api-reference/apps/get"},{"title":"Disconnect an app","openapi":"DELETE /v1/apps/{app}/connection","href":"/api-reference/apps/disconnect"},{"title":"List an app's connections","openapi":"GET /v1/apps/{app}/connections","href":"/api-reference/apps/list-connections"},{"title":"Disconnect one connection","openapi":"DELETE /v1/apps/{app}/connections/{connection_id}","href":"/api-reference/apps/disconnect-connection"},{"title":"List an app's tools","openapi":"GET /v1/apps/{app}/tools","href":"/api-reference/apps/list-tools"},{"title":"Run an app tool","openapi":"POST /v1/apps/{app}/tools/{tool}/run","href":"/api-reference/apps/run-tool"}]},{"group":"Follow-ups","icon":"hourglass-half","pages":[{"title":"Create a follow-up","openapi":"POST /v1/followups","href":"/api-reference/followups/create"},{"title":"List follow-ups","openapi":"GET /v1/followups","href":"/api-reference/followups/list"},{"title":"Get a follow-up","openapi":"GET /v1/followups/{followup_id}","href":"/api-reference/followups/get"},{"title":"Cancel a follow-up","openapi":"POST /v1/followups/{followup_id}/cancel","href":"/api-reference/followups/cancel"}]},{"group":"Background jobs","icon":"layer-group","pages":[{"title":"Start background jobs","openapi":"POST /v1/jobs","href":"/api-reference/jobs/start"},{"title":"List background jobs","openapi":"GET /v1/jobs","href":"/api-reference/jobs/list"},{"title":"Get a background job","openapi":"GET /v1/jobs/{job_id}","href":"/api-reference/jobs/get"},{"title":"Cancel a background job","openapi":"POST /v1/jobs/{job_id}/cancel","href":"/api-reference/jobs/cancel"}]},{"group":"Notes","icon":"note-sticky","pages":[{"title":"List notes","openapi":"GET /v1/notes","href":"/api-reference/notes/list"},{"title":"Create a note","openapi":"POST /v1/notes","href":"/api-reference/notes/create"},{"title":"Get a note","openapi":"GET /v1/notes/{note_id}","href":"/api-reference/notes/get"},{"title":"Update a note","openapi":"PATCH /v1/notes/{note_id}","href":"/api-reference/notes/update"},{"title":"Delete a note","openapi":"DELETE /v1/notes/{note_id}","href":"/api-reference/notes/delete"}]},{"group":"Account and usage","icon":"user","pages":[{"title":"Get your account","openapi":"GET /v1/account","href":"/api-reference/account/get"},{"title":"Get usage","openapi":"GET /v1/usage","href":"/api-reference/account/usage"},{"title":"Get the sign-up email default","openapi":"GET /v1/account/signup-email","href":"/api-reference/account/get-signup-email"},{"title":"Set the sign-up email default","openapi":"PUT /v1/account/signup-email","href":"/api-reference/account/set-signup-email"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"About webhooks","href":"/api-reference/webhooks/overview"},{"title":"Get the signing secret","openapi":"GET /v1/webhooks/secret","href":"/api-reference/webhooks/secret"},{"title":"Rotate the signing secret","openapi":"POST /v1/webhooks/secret/rotate","href":"/api-reference/webhooks/rotate-secret"}]}]}]},"basePath":"","title":"Send a code for a login - Valendata","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}