{"openapi":"3.1.0","info":{"title":"Easyship (BYOK) API","version":"0.1.0","description":"Easyship (BYOK) lets an AI assistant read your own Easyship data through the Easyship API with a key you supply (API access token (with read scopes)). Read-only: 7 tools (list_shipments, get_shipment, list_shipment_trackings, list_couriers, get_credit_balance, list_products, list_addresses). The BYOK key travels with each request, is used for that one call only and is never stored, logged or...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-easyship.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-easyship/docs"},"termsOfService":"https://connectorbay.com/byok-easyship/terms"},"servers":[{"url":"https://byok-easyship.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-easyship/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_shipments":{"post":{"operationId":"list_shipments","summary":"List shipments with shipment, label, pickup and delivery state, dates, weight, customs value and destination city and co","description":"List shipments with shipment, label, pickup and delivery state, dates, weight, customs value and destination city and country. Filter by dates, state or order number. Use for \"Which Easyship shipments were created this week and are still in transit\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform_order_number":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only shipments with this order number from the sales platform.","title":"Platform Order Number"},"created_at_from":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only shipments created since this ISO 8601 date, for example 2026-01-01.","title":"Created At From"},"created_at_to":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only shipments created before this ISO 8601 date.","title":"Created At To"},"updated_at_from":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only shipments updated since this ISO 8601 date.","title":"Updated At From"},"shipment_state":{"anyOf":[{"enum":["created","cancelled"],"type":"string"},{"type":"null"}],"default":null,"description":"Only shipments in this state.","title":"Shipment State"},"is_return":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to show only return shipments, false for only outbound ones.","title":"Is Return"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Records per page (1 to 100, default 20).","title":"Per Page"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_shipmentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_shipment":{"post":{"operationId":"get_shipment","summary":"Get one shipment by Easyship id with states, dates, weight, destination, order number and tracking page URL. Use for \"Sh","description":"Get one shipment by Easyship id with states, dates, weight, destination, order number and tracking page URL. Use for \"Show Easyship shipment ESSG10001234\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"easyship_shipment_id":{"description":"Easyship shipment id as returned by list_shipments.","maxLength":200,"title":"Easyship Shipment Id","type":"string"}},"required":["easyship_shipment_id"],"title":"get_shipmentArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_shipment_trackings":{"post":{"operationId":"list_shipment_trackings","summary":"List the latest tracking status and estimated delivery date of shipments; filter by shipment id or order number and opti","description":"List the latest tracking status and estimated delivery date of shipments; filter by shipment id or order number and optionally include checkpoints. Use for \"Where is my Easyship parcel for order 1042\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform_order_number":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only shipments with this order number from the sales platform.","title":"Platform Order Number"},"include_checkpoints":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include the history of checkpoints.","title":"Include Checkpoints"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Records per page (1 to 100, default 20).","title":"Per Page"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_shipment_trackingsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_couriers":{"post":{"operationId":"list_couriers","summary":"List couriers available to the account with name, state, fees and country; filter by country, state or umbrella name. Us","description":"List couriers available to the account with name, state, fees and country; filter by country, state or umbrella name. Use for \"Which couriers are active on my Easyship account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"umbrella_name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only couriers with this umbrella (brand) name.","title":"Umbrella Name"},"active_courier_services":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to keep only couriers that have available services.","title":"Active Courier Services"},"easyship_courier":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for couriers provided by Easyship, false for your own.","title":"Easyship Courier"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Records per page (1 to 100, default 20).","title":"Per Page"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_couriersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_credit_balance":{"post":{"operationId":"get_credit_balance","summary":"Show the account's Easyship credit balance and available balance. Use for \"How much Easyship credit do I have left\".","description":"Show the account's Easyship credit balance and available balance. Use for \"How much Easyship credit do I have left\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_credit_balanceArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_products":{"post":{"operationId":"list_products","summary":"List products saved in the account with name, SKU identifier, dimensions, weight, prices, HS code and origin country. Us","description":"List products saved in the account with name, SKU identifier, dimensions, weight, prices, HS code and origin country. Use for \"Which products are saved in my Easyship account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"sku":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only products with this SKU.","title":"Sku"},"category":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only products in this category.","title":"Category"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Records per page (1 to 100, default 20).","title":"Per Page"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_productsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_addresses":{"post":{"operationId":"list_addresses","summary":"List saved addresses (pickup and return locations) with company, city, country and status. Use for \"What addresses are s","description":"List saved addresses (pickup and return locations) with company, city, country and status. Use for \"What addresses are saved in my Easyship account\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"status":{"anyOf":[{"enum":["active","inactive"],"type":"string"},{"type":"null"}],"default":"active","description":"Which addresses: active (default) or inactive.","title":"Status"},"default_addresses":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only default addresses.","title":"Default Addresses"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Records per page (1 to 100, default 20).","title":"Per Page"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_addressesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}