API REFERENCE

Service Requests API

File service requests for your clients from another system, such as an onboarding tool or an intake form you host. The API works on behalf of a client contact: it shows the catalog that contact sees in the client portal and submits a request as if they had filled it in.

Find the requests a contact can submit

Call GET /api/v1/service-requests/catalog with the clientId and contactId query parameters. It returns the published catalog exactly as that contact would see it in the client portal, with each request’s definitionId. It requires client:read and contact:read.

Submit a request

Send the answers to POST /api/v1/service-requests/{definitionId}/submissions. The contact becomes the requester (their portal user, when they have one) and the API key’s user is recorded as the submitter. A ticket the request creates is entered by the API key’s user. Submitting also requires ticket:create; the service:* permissions control building the catalog, not submitting to it.

Send a clientSubmissionKey to make retries safe: a repeated key returns the original submission with 200 instead of filing a second one, and a new submission returns 201. Missing or invalid answers return 400. A contact who does not belong to the client, or a request the contact cannot see, returns 404 without saying which.

Endpoints

Every endpoint links through to its full parameters, request and response schemas, and code samples.

POST/api/v1/service-requests/{definitionId}/submissionsAlgaPSASubmit a service request on behalf of a client contactGET/api/v1/service-requests/catalogAlgaPSAList the service requests a client contact can see