# Shiprocket Authentication API

**Canonical:** https://apis.io/apis/shiprocket/shiprocket-authentication-api-api/  
**Provider:** Shiprocket — https://apis.io/providers/shiprocket/  
**Base URL:** https://apiv2.shiprocket.in/v1/external  
**Documentation:** https://apidocs.shiprocket.in/

Shiprocket Authentication API is one of 22 APIs that [Shiprocket](https://apis.io/providers/shiprocket/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Authentication API. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

The authentication token is an alphanumeric code, unique to your Shiprocket account, can be used from any system to validate your API calls to access Shiprocket's resources. Shiprocket API uses JWT tokens for validation. Use this API to validate your API user and obtain the authentication token. Copy this token and use it further to validate your API calls. The validity of this token is 10 days . Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret token in publicly accessible areas such as GitHub, client-side code, and so forth. Steps To Use Token: Copy the token received in response. Include 'Authorization: Bearer [yourtokenvalue]' in the appropriate field of your code. That's all! In case of any error, try checking your parameters.

## Operations (2)

| Method | Path | Summary |
|---|---|---|
| POST | `/v1/external/auth/login` | Generate Token |
| POST | `/v1/external/auth/logout` | Token Logout |

## Machine-readable artifacts (13)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/openapi/shiprocket-authentication-api-api-openapi.yml
- **Postman** — https://apidocs.shiprocket.in/
- **PostmanCollection** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/postman/shiprocket-api.postman_collection.json
- **Documentation** — https://apidocs.shiprocket.in/
- **APIReference** — https://apidocs.shiprocket.in/
- **GettingStarted** — https://www.shiprocket.in/developers/
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/asyncapi/shiprocket-tracking-webhooks.yml
- **ToolCrosswalk** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/mcp/shiprocket-tool-crosswalk.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/errors/shiprocket-problem-types.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/conventions/shiprocket-conventions.yml
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/authentication/shiprocket-authentication.yml
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/rate-limits/shiprocket-rate-limits.yml
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/shiprocket/refs/heads/main/data-model/shiprocket-data-model.yml

## Other Shiprocket APIs (12)

- [Shiprocket Account API](https://apis.io/apis/shiprocket/shiprocket-account-api/)
- [Shiprocket Channels API](https://apis.io/apis/shiprocket/shiprocket-channels-api/)
- [Shiprocket Countries API](https://apis.io/apis/shiprocket/shiprocket-countries-api/)
- [Shiprocket Couriers API](https://apis.io/apis/shiprocket/shiprocket-couriers-api/)
- [Shiprocket Create Or Update Order API](https://apis.io/apis/shiprocket/shiprocket-create-or-update-order-api/)
- [Shiprocket Discrepancy Details API](https://apis.io/apis/shiprocket/shiprocket-discrepancy-details-api/)
- [Shiprocket File Imports API](https://apis.io/apis/shiprocket/shiprocket-file-imports-api/)
- [Shiprocket Hyperlocal API](https://apis.io/apis/shiprocket/shiprocket-hyperlocal-api/)
- [Shiprocket International API](https://apis.io/apis/shiprocket/shiprocket-international-api/)
- [Shiprocket Inventory API](https://apis.io/apis/shiprocket/shiprocket-inventory-api/)
- [Shiprocket Labels | Manifests | Invoice API](https://apis.io/apis/shiprocket/shiprocket-labels-manifests-invoice-api/)
- [Shiprocket Listings API](https://apis.io/apis/shiprocket/shiprocket-listings-api/)

## Tags

Authentication API

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/shiprocket/shiprocket-authentication-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/shiprocket/.
