Skip to main content

Process Orchestration REST API Guide

Base URL

All Process Orchestration API calls are made against your tenant's Mambu instance, the same base URL used by the rest of the Mambu v2 API:

https://<tenant>.mambu.com/api

Relative paths in this reference omit the base URL. For example, /destinations means https://<tenant>.mambu.com/api/destinations.

Content-Type and Accept headers

All requests must include the following headers:

HeaderValueNotes
Acceptapplication/vnd.mambu.v2+jsonRequired for all requests
Content-Typeapplication/jsonFor JSON request bodies (POST, PUT)
Content-Typeapplication/octet-streamFor binary file uploads (BPMN/DMN deploy)

Authentication

All endpoints require HTTP Basic authentication. Provide your Mambu API credentials (username and password) with every request.

GET /api/destinations
Accept: application/vnd.mambu.v2+json
Authorization: Basic <base64-encoded username:password>

Requests without valid credentials return 401 Unauthorized.

For maker-checker endpoints (approve or reject staged definitions), the approving user's credentials must differ from the submitting user's credentials. Attempting self-approval returns 422 Unprocessable Entity.

Error format

All error responses use the standard Mambu error envelope:

{
"errors": [
{
"errorCode": 3,
"errorSource": "reviewedBy",
"errorReason": "approver must differ from submitter"
}
]
}
FieldTypeDescription
errorCodeintegerMambu internal error code
errorSourcestringThe field or system component that caused the error
errorReasonstringHuman-readable description of the error

Common HTTP status codes used across the Process Orchestration API:

StatusMeaning
200 OKSuccessful GET or action
201 CreatedResource created (POST)
204 No ContentSuccessful DELETE
400 Bad RequestInvalid request body or parameters
401 UnauthorizedMissing or invalid credentials
403 ForbiddenAuthenticated but not authorised for this operation
404 Not FoundResource does not exist
422 Unprocessable EntityBusiness rule violation (for example, self-approval or wrong state)

Pagination

List endpoints follow standard Mambu pagination. Use offset and limit query parameters to page through results:

GET /api/destinations?offset=0&limit=50
Accept: application/vnd.mambu.v2+json
Authorization: Basic <base64-encoded username:password>

Default and maximum page sizes follow the standard Mambu API limits documented in the core platform API reference.

Rate limits

Process Orchestration endpoints share the standard Mambu API rate limits. Excessive requests return 429 Too Many Requests. Implement exponential back-off when retrying.