ZINC API
HomeSign InSupport
HomeSign InSupport
  1. Authentication
  • API Reference
  • Authentication
    • Get Access token
      GET
  • Core Resources
    • Accounts
      • Create Account
      • Get Account
      • Update Account
      • Get Account Balance
      • Submit Account For Activation
      • Get Account Transactions
      • Get Account Supported Currencies
      • Get Account Beneficiaries
    • Beneficiary
      • Add Beneficiary
      • Get Beneficiaries
      • Delete Beneficiary
    • Currency Accounts
      • Create Currency Account
      • Get Currency Account Details
    • Payouts
      • Create Payout
      • Get Payouts For Account
    • Cards
      • Simulation
        • Simulate Card Transaction
      • Create Card
      • Get Card Details
      • Update Transaction Limits
      • Update Cards Status
      • Get Card Transactions
    • Conversions
      • Create Conversion
      • Get Quote
    • Services
      • Upload File
  1. Authentication

Get Access token

GET
/api/authentication/login

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
x-client-id
string 
optional
Example:
{{clientId}}
x-api-key
string 
optional
Example:
{{apiKey}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-sandbox.z.inc/api/authentication/login' \
--header 'x-client-id: {{clientId}}' \
--header 'x-api-key: {{apiKey}}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "expires_at": "2024-07-27T08:17:17+0000",
    "token": "eyJhbGciOiJIUzI1NiJ9.eyJ0eXBlIjoiY2xpZW50IiwiZGMiOiJISyIsImRhdGFfY2VudGVyX3JlZ2lvbiI6IkhLIiwiaXNzZGMiOiJVUyIsImp0aSI6ImIyZjY5NWEwLTU0MGQtNDBlNS1hZmIwLTQ0MGI3MGQwNmMzNCIsInN1YiI6IjBkOTIxOGE1LWYwZTItNDA5NC05OWU5LTNkZjQ4YzA5MGJjNyIsImlhdCI6MTcyMjA2NjQzNywiZXhwIjoxNzIyMDY4MjM3LCJhY2NvdW50X2lkIjoiMjMzYTZlNjktMTVmYy00NmUwLWI4NDUtZmJjMzM4ZTA1NDhkIiwicGVybWlzc2lvbnMiOlsicjphd3g6KjoqIiwidzphd3g6KjoqIl19.OgOU1knmArJ3hJIixtcmA6syw0RUMg0P4mwqUIA1TpU"
}
Modified at 2024-07-28 08:07:46
Previous
Authentication
Next
Accounts