v1
latestOpenAPI 3.1.02026-07-22802,2441.7 MBAuth
Create Magic Link
Create a Magic Link to allow users to connect their integrations via a temporary link.
post/magic-links
Headers
x-trackstar-api-keystring required
Example:<x-trackstar-api-key>
Your organization-level Trackstar API key.
Request body
Example request
{
"integration_allow_list": [
"shipbob"
],
"integration_block_list": [
"shipbob"
],
"integrations_with_endpoints": [
"get_inventory",
"get_products",
"create_order"
],
"link_duration": 7,
"customer_id": "customer_id"
}Response
Successful response
Example response
{
"magic_link": {
"id": "c0a4fef52f664ecf9e766c16811c3289",
"url": "https://link.trackstarhq.com/c0a4fef52f664ecf9e766c16811c3289",
"expires_at": "2025-09-17T15:01:41Z",
"integration_type": "wms",
"integration_allow_list": [
"shipbob"
],
"integration_block_list": [
"extensiv-3pl-central"
],
"integrations_with_endpoints": [
"get_inventory"
],
"customer_id": "customer-123"
}
}