Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Start Bulk HMRC Request

POST /tenants/{tenant}/agent-authorisations/bulk-requests

Requests one letter-based HMRC authorisation for many clients. Saves any UTR, PAYE or Accounts Office reference given for a client, leaves out the clients still missing details (returned with the reason), and queues the rest: each is sent to HMRC in the background exactly as a single request is, with the same status, emails and chasing. 202 Accepted with a Location to poll for progress; 200 OK when no client could be sent, with the reasons.

Requires: Update on Clients.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

Request Body*

{
  "authorisationType": "SelfAssessment",
  "clients": [
    {
      "clientCode": "...",
      "utr": "...",
      "postcode": "...",
      "payeRef": "...",
      "accountsOfficeRef": "..."
    }
  ],
  "hmrcCredentialCode": "string",
  "authCodeEntryDelayDays": 0
}

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json