{"templateId":"markdown","versions":[{"version":"shipstation-v2","label":"ShipStation V2 API","link":"/apis/shipstation-v2/docs/partners/create-shipengine-api-key","default":true,"active":false,"folderId":"58c9a61d"},{"version":"shipengine","label":"ShipStation API (formerly ShipEngine)","link":"/apis/shipengine/docs/partners/create-shipengine-api-key","default":false,"active":true,"folderId":"58c9a61d"},{"version":"shipstation-v1","label":"ShipStation V1 API","link":"/apis/shipstation-v1/docs/partners/create-shipengine-api-key","default":false,"active":false,"folderId":"58c9a61d"}],"sharedDataIds":{"sidebar":"sidebar-apis/@shipengine/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Create a ShipStation™ API Key","keywords":"shipping, labels, shipstation, documentation, api","siteUrl":"https://docs.shipstation.com","lang":"en-US","llmstxt":{"hide":false,"title":"ShipStation API LLM Docs","description":"Find links and references to all markdown documentation for use with LLMs","excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"create-a-shipstation-api-key","__idx":0},"children":["Create a ShipStation™ API Key"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Whenever you ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/partners/accounts/create"},"children":["create a new ShipStation API account"]},", it creates a new API key automatically. Most of the time that API key is the only one you'll ever need."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["However, if it ever becomes compromised you can ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/shipengine/docs/partners/disable-api-key"},"children":["disable it"]}," and then create a new one by following the instructions below."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TIP:"]}," Treat ShipStation API keys like a password, they are associated with your partner account and can make billable transactions."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-request--response","__idx":1},"children":["Example Request & Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["POST /v1/partners/accounts/:account_id/api_keys"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /v1/partners/accounts/242822/api_keys HTTP/1.1\nHost: api.shipengine.com\nAPI-Key: __PARTNER_API_KEY_HERE__\nContent-Type: application/json\n\n{\n  \"description\": \"Partner Access Key\"\n}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example response:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"encrypted_api_key\": \"4WrQpShzaZvpRixBxwSLoYdXaGeU+LCpVsQjaKBFloU\",\n  \"created_at\": \"2017-07-13T16:22:46.633Z\",\n  \"description\": \"Partner Access Key\",\n  \"account_id\": 242822,\n  \"api_key_id\": 4094\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"Create a ShipStation™ API Key","id":"create-a-shipstation-api-key","depth":1},{"value":"Example Request & Response","id":"example-request--response","depth":2}],"frontmatter":{"seo":{"title":"Create a ShipStation™ API Key"}},"lastModified":"2026-04-08T10:47:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/apis/shipengine/docs/partners/create-shipengine-api-key","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}