Skip to main content

Integration types

Integration types define a specific integration provider and how to authenticate with it, an example looks like this:

{
"integrationType": "MY_INTEGRATION",
"logo": "https://backend.com/new/integration.png",
"name": "Integration name",
"authentication": {
"method": "oauth",
"settings": {
"authorize_url": "https://integration.com/oauth2/authorize",
"token_url": "https://integration.com/oauth2/token",
"client_id": "XXXXXX",
"client_secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"scopes": [
"sleep",
"activity",
"..."
],
"pkce": true
}
}
}

Schema

FieldDescription
integrationTypeUnique identifier of the integration type
logoLogo URL to display in app
nameName to display in app
authenticationAuthentication options (optional)

Authentication methods

OAuth

FieldDescription
authorize_urlOAuth authorize url
token_urlOAuth token exchange url
client_idClient id of OAuth app
client_secretClient secret of OAuth app
scopesScopes to request
pkceWhether to authenticate with PKCE

Unauthenticated

If no authentication is required, simply omit the authentication field for the integration type.