Mutation
mutation StartServiceAuthorization($input: StartServiceAuthorizationInput!) {
startServiceAuthorization(input: $input) {
connectionDetails {
serviceIntegrationKey
serviceAuthorizationId
hmacDigest
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"serviceIntegrationKey": "string"
}
}Response
{
"data": {
"startServiceAuthorization": {
"connectionDetails": {
"serviceIntegrationKey": "string",
"serviceAuthorizationId": "id",
"hmacDigest": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
startServiceAuthorization
Begin the OAuth authorization flow for a third-party service integration. Returns connection details including a serviceAuthorizationId and an HMAC digest that must be passed to the authorization URL to securely link the callback back to this workspace. After the user completes the OAuth flow in the third-party service, call completeServiceAuthorization to finalize the connection.
MUTATION
startServiceAuthorization(input: StartServiceAuthorizationInput!): StartServiceAuthorizationOutput!Arguments
input
required
Returns
connectionDetails
error
Mutation
mutation StartServiceAuthorization($input: StartServiceAuthorizationInput!) {
startServiceAuthorization(input: $input) {
connectionDetails {
serviceIntegrationKey
serviceAuthorizationId
hmacDigest
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"serviceIntegrationKey": "string"
}
}Response
{
"data": {
"startServiceAuthorization": {
"connectionDetails": {
"serviceIntegrationKey": "string",
"serviceAuthorizationId": "id",
"hmacDigest": "string"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

