Overview
The Request Status API returns the current status of an asynchronous request by itsrequest_id. Use it to poll a long-running request such as a Company Addition request until it completes. The response includes the top-level request status along with a detail object carrying request-type-specific fields. This is a free endpoint and does not consume credits.
Endpoint Details
- Method: GET
- Endpoint:
/v1/status/{request_id}
Authentication requirements
- Include a valid API key in the
x-api-keyrequest header.
Request
Request Parameters
Header Parameters
Your API key.
Path Parameters
The unique identifier of the request to check, returned when the original request was submitted. Example:
2db01b38-5c81-4b3f-b76d-8b36aeed603bResponse
Successful Response Fields
Returns a JSON object with the following structure:Unique identifier of the request being tracked.
The type of request. Example:
company_addition.Current status of the request. Possible values:
pending, in_progress, completed, failed.Timestamp when the request was created, in ISO 8601 format.
Timestamp when the request was last updated, in ISO 8601 format.
Request-type-specific details. Fields vary by
request_type. See Detail Object Fields below for a company addition request.Detail Object Fields
Fields for acompany_addition request.
Identifier of the underlying request record.
Name of the company submitted for addition.
Resolved domain of the submitted company.
Status of the underlying request. Possible values:
pending, in_progress, completed, failed.Explanation when the request did not succeed.
null unless the request has failed.Akta UUID of the company once it has been added.
null until the request is completed. Pass this as the company parameter in downstream APIs.Timestamp when the underlying request was created, in ISO 8601 format.
Timestamp when the underlying request was last updated, in ISO 8601 format.
.png?fit=max&auto=format&n=tMpg-r-6yeOIk-hz&q=85&s=e0cafcb914826d8adc60e5092187e1ca)
.png?fit=max&auto=format&n=tMpg-r-6yeOIk-hz&q=85&s=f214ebe0a940d8aa0f19a709a6bfd7fa)