Integrations

When an OAuth integration is installed, they will direct the user to the OAuth Authorize page. From there, when the user accepts the installation. integrations.authorize is called from the acceptance page and will generate an access code that will be redirected to the integrations authorizationURL. From there, the integration is able to exchange the access code for an OAuth Authorization token for future use.

An integration can only have one of Repairer or Supplier scope in this iteration. Attempting to have either without their respective business will result in an Invalid Scopes error as well as attempting to have both in the same integration. An integration must also have atleast one scope. All of these are limitations of the current integrations table.

post/api/v1/integrations.authorize

Request

  • Base URL: https://api.partly.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.partly.com/api/v1/integrations.authorize
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

UTF-8 encoded string

Request body

client_idstring required

UTF-8 encoded string

redirect_urlstring required

UTF-8 encoded string

statestring required

UTF-8 encoded string

Response

200 OK

redirect_urlstring required

UTF-8 encoded string

Changes

No recorded changes to this operation across all 1 revision of this API.