Liftbay
API referenceApple

Save an App Store Connect API key

PUT
/v1/orgs/{org}/apple/keys

Checked with Apple before saving. liftbay credentials ios creates one for you after signing in with your Apple ID.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

Request Body

application/json
  1. body
teamId*string
Match^[A-Z0-9]{10}$
teamName?|
Lengthlength <= 200
keyId*string
Match^[A-Z0-9]{10}$
issuerId*string
Formatuuid
privateKeyP8*string
Lengthlength <= 10000

Response Body

OK

application/json
  1. response
keys*array<>
certificates*array<>
curl -X PUT "https://example.com/v1/orgs/string/apple/keys" \  -H "Content-Type: application/json" \  -d '{    "teamId": "string",    "keyId": "string",    "issuerId": "d481fa31-74f9-4e8d-98ce-a395773acfa0",    "privateKeyP8": "string"  }'
{  "keys": [    {      "teamId": "string",      "teamName": "string",      "keyId": "string",      "createdAt": "string"    }  ],  "certificates": [    {      "teamId": "string",      "serialNumber": "string",      "expiresAt": "string"    }  ]}