CasaYes
  • Home
  • Integration
    • Integration Documentation
    • API
      • Listing
        • Create
        • Update
        • Delete
      • Token
        • Create
    • FTP
      • Integration via FTP
    • Schemas
      • Listing Schema
  • Webhooks
    • Webhooks
    • Listing
    • Leads
Powered by GitBook
On this page
  • Method GET
  • Params
  • Example Request
  • Example Response
  1. Integration
  2. API
  3. Token

Create

api/v1/Token/GenerateToken

Description: Create the access token required to authenticate in order to use other functionality within this API.

Method GET

Params

Name
Type
Description

clientId

string

Client Id.

clientSecret

string

Client Secret.

Example Request

Method: GET
Params: 
    { 
        "clientId": "CasaYes.CRM.Integration",
        "clientSecret": "X36u8adBrS/geMsfe346735/RXq0QcTRaa2235RtNGkWyhFGc3M="
    }

Example Response

Code: 200
Body: 
    { 
        "accessToken": "string",
        "expiresOnUtc": "2024-08-13T16:11:24.712Z"
    }
Code: 400
Invalid client!
PreviousTokenNextFTP

Last updated 7 months ago