The Spanish version is the authoritative reference. View in Spanish
createToken
POST /api/security/createToken/cl
Generates an OAuth 2.0 token valid for 2 hours, required to consume the remaining APIs.
SBX
https://gosocket-onboarding-api-sbx.gosocket.net/api/security/createToken/clPRD
https://global-apim-prd.gosocket.net/ms-onboardingapi/api/security/createToken/clCountry always cl
Even when onboarding companies in other countries, createToken always uses the /cl path. The Partner credentials are unique to Chile and are reused across all countries.
Scope of this token
This token covers onboarding, issuance and document queries. The Folio Manager uses its own, independent OAuth 2.0 token (client_id/client_secret) — don't reuse this JWT there.
| Field | Type | Req. | Description |
|---|---|---|---|
partnerId | string (GUID) | Required | TR partner ID — see Partner Credentials |
apiKeyUser | string (GUID) | Required | Partner ApiKey for authentication |
createToken
{
"partnerId": "<YOUR_PARTNER_ID>",
"apiKeyUser": "<YOUR_API_KEY_USER>"
}