Skip to content

REST API v2. Authenticate with a Bearer JWT in the Authorization header unless an endpoint is marked public.

Servers​

https://v2-staging.tscheckout.comCurrent host

Process pending HubSpot jobs from cron​

GET
/api/v2/internal/hubspot/process/{token}

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

token*

Internal cron token

Type
string
Required

Responses​

Worker result

Playground​

Authorization
Variables
Key
Value

Samples​


Run daily HubSpot reconciliation from cron​

GET
/api/v2/internal/hubspot/reconcile/{token}

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

token*

Internal cron token

Type
string
Required

Responses​

Reconciliation result

Playground​

Authorization
Variables
Key
Value

Samples​


Get HubSpot synchronization status​

GET
/api/v2/integrations/hubspot/status

Authorizations​

bearerAuth
Type
HTTP (bearer)

Responses​

HubSpot synchronization status

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization

Samples​


Queue an order or ticket for HubSpot synchronization​

POST
/api/v2/integrations/hubspot/sync

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Synchronization queued

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Process pending HubSpot synchronization jobs​

POST
/api/v2/integrations/hubspot/process

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Worker result

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Queue changed tickets for HubSpot reconciliation​

POST
/api/v2/integrations/hubspot/reconcile

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Reconciliation queued

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Export one event as a HubSpot-ready CSV​

POST
/api/v2/integrations/hubspot/historical-export

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

HubSpot-ready CSV with validation_errors column

text/csv

Playground​

Authorization
Body

Samples​


Get Hubspot settings​

GET
/api/v2/integrations/hubspot

Authorizations​

bearerAuth
Type
HTTP (bearer)

Responses​

Hubspot settings

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization

Samples​


Update Hubspot settings​

PATCH
/api/v2/integrations/hubspot

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Settings updated successfully

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI