Repairy Partner API
  1. Authorization
Repairy Partner API
  • Welcome 👋
  • Get Started
  • HTTP Headers
  • Authorization
  • Workshops
  • Bookings
  • Quotes
  • Service Reminder
  • Data Reporting
  • Booking URL
  • Error Codes
  • Technical Support
  • Changelog
  • Webhook
  • Additional Services
  • Service Catalog
  • APIs
    • Authorization
      • Access Token
        POST
      • Refresh Token
        POST
    • Workshops
      • Availabilities
      • Service Catalog
    • Bookings
      • Booking Request with Service Catalog (beta)
      • Booking Request
      • Booking Information
      • Update Booking Information
      • Update Booking Status
    • Quotes
      • Quote Request
    • Service Reminder
      • Service Reminder Notification
      • Service Reminder Information
    • Data Reporting
      • Partner Report
  • Data Structures
    • AuthResponse
    • Availability
    • CustomAvailability
    • Car
    • Customer
    • Booking
    • BookingUpdateRequest
    • BookingStatusUpdateConfig
    • Quote
    • ServiceHistory
    • ServiceReminder
    • WebhookRequest
    • ServiceCatalog
  1. Authorization

Access Token

Cloud Mock
https://mock.apidog.com/m1/839892-0-default
Cloud Mock
https://mock.apidog.com/m1/839892-0-default
POST
/auth/token

Request an Access Token#

In order to interact with the protected endpoints of the Repairy Partner API, you must first request an access token.
This token is essential for gaining access to any resources that require authentication.
When making requests to authenticated routes, remember to include the access token in the Authorization header of each API call. Without this token, the API will deny access to those protected endpoints.

Contact Support to Obtain Credentials#

To request your App Key and Secret, which are necessary for generating your access token, please reach out to our support team. These credentials will be issued to you and are required for both staging and production environments.
Once you have your App Key and Secret, you can follow the authentication flow to obtain your access token. It's important to keep these credentials secure and avoid exposing them in public spaces, as they are vital for securing your API access.

Request

Header Params

Body Params application/json

Example
{
    "appKey": "APP_KEY",
    "appSecret": "APP_SECRET"
}

Request Code 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 POST 'https://mock.apidog.com/m1/839892-0-default/auth/token' \
--header 'X-Partner-ID: PARTNER_ID' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appKey": "APP_KEY",
    "appSecret": "APP_SECRET"
}'

Responses

🟢200OK
application/json
OK
Headers

Body

Example
{
    "token": "ACCESS_TOKEN",
    "refreshToken": "REFRESH_TOKEN",
    "expiresIn": 1674012068
}
🟠400Bad Request
Modified at 2025-04-03 04:18:52
Previous
Service Catalog
Next
Refresh Token
Built with