Integrations
Save Integration Credentials
Authorization
apiKeyAuth x-api-key<token>
FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
In: header
Path Parameters
idOrSlug*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v0/project/string/integrations" \ -H "Content-Type: application/json" \ -d '{ "integrationId": "string", "authType": "oauth", "fields": { "property1": "string", "property2": "string" } }'{ "id": "string", "provider": "string", "authType": "oauth", "status": "connected", "displayName": "string", "externalAccountName": "string", "ownerType": "workspace"}integrationId*string
authType*string
Value in
- "oauth"
- "api_key"
- "webhook_secret"
- "app_install"
fields*