light-mode-image
Learn
API Reference

Apple Identity Access CSRs

Create an Apple Identity Access certificate signing request

POST/v2/presentations/certificates/apple-identity-access-certificates

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Apple Identity Access CSR payload

teamId*string

Team ID of the iOS app.

merchantId*string

The merchantIdentifier used by PassKit to retrieve credential data.

Response Body

application/json

application/json

curl -X POST "https://example.vii.au01.mattr.global/v2/presentations/certificates/apple-identity-access-certificates" \  -H "Content-Type: application/json" \  -d '{    "teamId": "A2B3C4D5E6",    "merchantId": "com.domain.subdomain"  }'
{
  "id": "fd44e792-45ac-11f0-bef8-bb24f133065e",
  "teamId": "A2B3C4D5E6",
  "merchantId": "com.domain.subdomain",
  "csrPem": "string"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Retrieve all Apple Identity Access certificate signing requests

GET/v2/presentations/certificates/apple-identity-access-certificates

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.vii.au01.mattr.global/v2/presentations/certificates/apple-identity-access-certificates"
{
  "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM",
  "data": [
    {
      "id": "fd44e792-45ac-11f0-bef8-bb24f133065e",
      "teamId": "A2B3C4D5E6",
      "merchantId": "com.domain.subdomain",
      "csrPem": "string"
    }
  ]
}

Retrieve an Apple Identity Access certificate signing request

GET/v2/presentations/certificates/apple-identity-access-certificates/{certificateId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

certificateId*string

Unique identifier for the Apple Identity Access CSR.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://example.vii.au01.mattr.global/v2/presentations/certificates/apple-identity-access-certificates/673a20c3-97a3-40dd-b29a-115ff32b02c3"
{
  "id": "fd44e792-45ac-11f0-bef8-bb24f133065e",
  "teamId": "A2B3C4D5E6",
  "merchantId": "com.domain.subdomain",
  "csrPem": "string"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Delete an Apple Identity Access certificate signing request

DELETE/v2/presentations/certificates/apple-identity-access-certificates/{certificateId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

certificateId*string

Unique identifier for the Apple Identity Access CSR.

Formatuuid

Response Body

application/json

application/json

curl -X DELETE "https://example.vii.au01.mattr.global/v2/presentations/certificates/apple-identity-access-certificates/673a20c3-97a3-40dd-b29a-115ff32b02c3"
Empty
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?

On this page