File up to 20 access requests (per-item results)
File up to 20 access requests in one call, with shared defaults that each request’s own fields override. Nothing is granted: approvers decide each request in the app.
- Each item is
access-requests.create(its checks, privacy and assignee) and is filed or fails on its own:{results: [{index, ref, task_id, title, ok, request | error}], created, failed}, status 200 even when some failed. - An item that sets its own
descriptionorreasontakes neither fromdefaults. - A caller who is not a member, or is a guest, is refused as a whole (403) and nothing is filed.
Idempotency-Keyreplays the first answer for 24 h. Rate limit: one request plus one unit per item.- Error codes:
forbidden,not_found,invalid,conflict,internal.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters”Replay the first response for 24 h when the same request is retried with this key.
Request Bodyrequired
Section titled “Request Bodyrequired”POST /v1/access-requests/batch.
object
The organization every request is filed in
Values every request of the batch takes unless the request sets the field itself.
1-20 requests, filed in this order
One request: POST /v1/access-requests’s body without org_id (the batch’s), plus ref.
object
1..10 resources, each with 1..10 levels
Part of AccessBatchItem and AccessRequestCreate.
object
The resource’s name: a repository, a mailbox, a resource group… At most 60 characters when typed, 120 when picked from a connected system; may be empty (a licence, a seat).
The access asked for, 1-10 levels of at most 30 characters each: the system’s levels or the provider’s roles where the system offers a list, free text otherwise.
Open tasks (yours, or the person’s it is for) that need this access, at most 20; each becomes blocked by the request.
Example
{ "org_id": "O12345", "defaults": { "for_user_id": "string", "description": "string", "reason": "string", "until": "2026-09-25", "approver_ids": [ "string" ] }, "requests": [ { "system_id": "string", "for_user_id": "string", "grants": [ { "resource": "", "levels": [ "string" ], "resource_type": "string", "resource_id": "string", "service_id": "string", "service": "string" } ], "description": "string", "reason": "string", "attach_task_ids": [ "string" ], "until": "2026-09-25", "approver_ids": [ "string" ], "ref": "github-read" } ]}Responses
Section titled “ Responses ”Successful Response
Returned by access-requests.create_batch.
object
Part of AccessBatchCreated.
object
The item’s position in requests (0-based)
Returned by access-requests.create and access-requests.read.
object
An access request’s fields: the system, the people, the grants, the end date and the decision trail.
object
Part of AccessTypeData.
object
An access request’s state. requested -> approved -> granted -> revoked; requested or approved -> denied; granted -> expired once until has passed.
What the caller may do now
Part of AccessBatchItemResult and TaskBatchItemResult.
object
What went wrong, for a client to branch on
The same text the single route answers with
How many requests were filed
How many items failed
Example
{ "results": [ { "index": 0, "ref": "string", "task_id": "string", "title": "string", "ok": false, "request": { "task_id": "string", "org_id": "string", "title": "string", "status": "string", "created_at": "2026-09-25T12:00:00Z", "updated_at": "2026-09-25T12:00:00Z", "access": { "system_id": "string", "system_name": "string", "requester_id": "string", "for_user_id": "string", "grants": [ { "resource": "string", "levels": [ "string" ], "resource_type": "string", "resource_id": "string", "resource_url": "string", "account": "string", "manual_resource": false, "service_id": "string", "service": "string" } ], "reason": "string", "until": "string", "access_state": "requested", "decided_by": "string", "decided_at": "string", "decision_note": "string", "granted_by": "string", "granted_at": "string", "revoked_by": "string", "revoked_at": "string", "converted_from": "string", "approver_ids": [ "string" ] }, "system": { "id": "string", "name": "string", "color": "string", "icon": "string", "provider": "string" }, "requester": { "user_id": "string", "username": "string", "display_name": "string", "email": "string" }, "for_user": { "user_id": "string", "username": "string", "display_name": "string", "email": "string" }, "approvers": [ { "user_id": "string", "username": "string", "display_name": "string", "email": "string" } ], "allowed_actions": [ "approve" ], "can_decide": false }, "error": { "code": "forbidden", "message": "string" } } ], "created": 0, "failed": 0}Bad request - a query parameter outside what the operation accepts (invalid-parameter)
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Bad request", "status": 400, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Missing or invalid bearer token
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Missing or invalid bearer token", "status": 401, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Authenticated, but not allowed
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Authenticated, but not allowed", "status": 403, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Not found
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Not found", "status": 404, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Conflict (a duplicate, or an Idempotency-Key still in flight)
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Conflict (a duplicate, or an `Idempotency-Key` still in flight)", "status": 409, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}If-Match does not match the current ETag
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "`If-Match` does not match the current `ETag`", "status": 412, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}The body or query did not validate (validation), or an Idempotency-Key was reused
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "The body or query did not validate (`validation`), or an `Idempotency-Key` was reused", "status": 422, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}An access token, or a signed-in user, or an address over its limit (rate-limit; see Retry-After)
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "An access token, or a signed-in user, or an address over its limit (`rate-limit`; see `Retry-After`)", "status": 429, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}Unexpected server error - quote request_id
An RFC 9457 problem details object - the body of every error response. detail is the human-readable explanation; request_id identifies the request for support.
object
about:blank or a urn:taskadence:problem:* identifier
Human-readable explanation (a string; for a 422, the list of validation errors)
Structured failures: validation errors, or {loc, msg, allowed} for a bad parameter
object
On an mfa-required problem only: enrolled (does the person have an authenticator app set up), required_for (all or admins) and reason (org_policy: the organization’s requirement; step_up: this action needs a second step)
object
Example
{ "type": "about:blank", "title": "Unexpected server error", "status": 500, "detail": "…", "instance": "/v1/…", "request_id": "9b2f1c1e-8c1a-4a53-9f9e-0f5f1f2d7c11"}