Integration Credential
Test integration credential
Test an existing integration credential: Rossum attempts to obtain an access token from the third-party service and, when the token carries the granted scopes, checks that all requested scopes were granted.
An optional secret in the request body is merged into the stored secret with the same semantics as a partial update — send only the keys to change, [redacted...] values keep the stored ones. The merged secret is only used for the test and is not saved, so an edit can be tested before submitting it.
post/api/v1/integration_credentials/{integrationCredentialID}/test
Path parameters
integrationCredentialIDinteger required
A unique integer value identifying this integration credential.
Request body
Example request
{
"secret": {
"client_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"client_secret": "s3cr3t-value",
"base_api_url": "https://example.coupahost.com",
"scope": "core.invoice.create core.common.read"
}
}Response
OK
Example response
{
"status": "ok",
"granted_scopes": [
"core.common.read",
"core.invoice.create"
],
"missing_scopes": []
}Changes
Changed in 1 of the 2 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○