curl --request GET \
--url https://management.api.smartcar.com/v3/subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>'{
"data": {
"type": "subscription",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attributes": {
"vehicle": {
"make": "TESLA",
"model": "Model 3",
"year": 2023,
"mode": "live",
"powertrainType": "BEV"
}
},
"meta": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"relationships": {
"webhook": {
"data": {
"type": "webhook",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"links": {
"related": "<string>"
}
},
"user": {
"data": {
"type": "webhook",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"links": {
"related": "<string>"
}
},
"vehicle": {
"data": {
"type": "webhook",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"links": {
"related": "<string>"
}
}
},
"links": {
"self": "<string>"
}
}
}Retrieve details of a specific webhook subscription.
curl --request GET \
--url https://management.api.smartcar.com/v3/subscriptions/{subscriptionId} \
--header 'Authorization: Bearer <token>'{
"data": {
"type": "subscription",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attributes": {
"vehicle": {
"make": "TESLA",
"model": "Model 3",
"year": 2023,
"mode": "live",
"powertrainType": "BEV"
}
},
"meta": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"relationships": {
"webhook": {
"data": {
"type": "webhook",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"links": {
"related": "<string>"
}
},
"user": {
"data": {
"type": "webhook",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"links": {
"related": "<string>"
}
},
"vehicle": {
"data": {
"type": "webhook",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"links": {
"related": "<string>"
}
}
},
"links": {
"self": "<string>"
}
}
}The Authorization header must be provided with a valid bearer token.
Example: Authorization: Bearer {token}
The unique identifier for the subscription.
Subscription
Show child attributes
Was this page helpful?