SRS Integration Partner Services
HomeV1 APIsV2 APIs
HomeV1 APIsV2 APIs
  1. Authentication
  • Authentication
    • Token
      POST
  • Products
    • Catalog
      GET
    • By Item Codes
      POST
    • Price
      POST
    • catalog Item Convert
      POST
    • Color Recommendations
      POST
  • Deliveries
    • Coordinates
      GET
  • Branches
    • Branch Locations
      GET
    • Active Branch Products
      GET
    • Customer Branch Locations
      GET
  • Customers
    • OrderTemplates
      GET
  • Orders
    • Submit Order
      POST
  1. Authentication

Token

POST
/Authentication/token
warning-icon.png
PLEASE DO NOT SHARE YOUR CREDENTIALS WITH YOUR CUSTOMERS
Authorize API generates beaerer token which needs to be passed to all the APIs

Request

Header Params

Body Params application/x-www-form-urlencoded

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://services-qa.roofhub.pro/Authentication/token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=' \
--data-urlencode 'client_secret=' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=ALL'

Responses

🟢200Success
application/json
Body

Example
{
    "token_type": "string",
    "expires_in": "int32",
    "ext_expires_in": "int32",
    "access_token": "string"
}
Modified at 2025-09-26 10:25:58
Next
Catalog
Built with