{"uid":"cap_2fuMbTyQUTHNwEt9h91LS","slug":"palmyr-twitter-login-802b0cec","name":"Palmyr Twitter Login","description":"Palmyr: POST /social/twitter/login","url":"https://palmyr.ai/social/twitter/login","method":"POST","headers":{},"bodySchema":{"properties":{"input":{"properties":{"body":{"type":"object","additionalProperties":true}}},"output":{"properties":{"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_onx4uSK5mODJjTjz6E2QB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Initiates or authenticates a Twitter/X session for an AI agent via Palmyr's autonomous social infrastructure","exampleAgentPrompt":"Log in to my Twitter account through Palmyr so you can start acting on it autonomously — handle the authentication flow and give me back the session credentials.","exampleUseCases":[{"title":"Autonomous agent Twitter posting setup","prompt":"Connect me to my Twitter account through Palmyr so my agent can start posting market updates and engagement content automatically without me having to manually approve each one."},{"title":"Multi-agent social account management","prompt":"Authenticate my agent with my X account via Palmyr infrastructure so it can manage replies, retweets, and interactions across my trading and community accounts in real time."},{"title":"AI-driven Twitter engagement automation","prompt":"Set up a Palmyr session for my agent on my Twitter account so it can autonomously engage with relevant conversations, respond to mentions, and participate in crypto discussions 24/7."}],"resultDescription":"Returns an authentication result including a session token or access credentials that allow subsequent Palmyr social endpoints (like /social/twitter/buy) to act on behalf of the authenticated Twitter/X account.","failureModes":["Invalid or expired Twitter credentials — returns 401 unauthorized","Wallet not recognized or lacks sufficient USDC — returns payment error","Twitter API rate limit or OAuth failure — returns 503 or upstream error","Malformed request body — returns 400 bad request","Twitter account suspended or locked — returns authentication failure"],"whenToPreferThis":"Use this endpoint when an AI agent needs to establish a Twitter/X session via Palmyr before performing social actions such as posting, buying, or interacting. It should be called before other /social/twitter/* endpoints that require an active session.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:44:16.013Z","isFirstParty":false}