TTC | W-SYNC
    • Introduction
    • Authentication
    • Error Handling
    • Tickets
      • Online Booking
        POST
      • Get Ticket
        GET
      • List Tickets
        GET
      • Search Tickets
        GET
    • Notification Webhooks
      • Webhooks
    W-SYNC

    Authentication

    TTC | W-SYNC API authenticates your requests to ensure that they really come from you.
    All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail with the relevant error being returned to you.
    You need to provide one of three types of key, depending on who you are and what API you call.
    Important
    API Keys in Playground and Production are different and CANNOT be used interchangeably. Please make sure that you use the correct one for the correct environment.

    Public key#

    Public key is used when you make a request from the server side.
    Authentication to the API is performed via HTTP Basic Auth , using your Public key as the username and your Public key as the password.
    Your Public key can be self-managed through your account in TTC | W-SYNC under the Developers section

    Secret key#

    Use the secret key for requests initiated on your server relating to your account. The secret key must not be shared, and we highly recommend encrypting the key on your server for maximum protection.
    If you believe your secret key has been compromised, log in to your TTC | W-SYNC account, generate a new key using the Roll key button, and make sure your integration is updated accordingly.
    WARNING
    Please DO NOT share your Secret key keys in any publicly accessible places such as GitHub, GitLab, BitBucket, on your client-side code, and so on.

    Basic Auth#

    In basic HTTP authentication, a request contains a header field in the form of Authorization: Basic <credentials>, where is the Base64 encoding of ID and password joined by a single colon :.
    Modified at 2026-06-22 11:52:16
    Previous
    Introduction
    Next
    Error Handling
    Built with