Skip to main content

Common fields used in API parameters and response bodies

Access Token Fields

NameTypeDescription
access_tokenstringReference
client_idstringReference
client_secretstringReference
codestringReference
code_verifierstringReference
expires_inintegerUnless otherwise specified the value is 3600 (one hour)
firstNamestringFirst name of person that authorized access
grant_typestringReference
lastNamestringLast name of person that authorized access
legalNamestringLegal name of the organization
orgDetailsobjectElement describing the organization whose data you are authorized to access
redirect_uristringReference
refresh_tokenstringReference
token_typestringReference. Unless otherwise specified the value is Bearer
userobjectContact person details

API Parameters

NameDescription
assetIdApple-generated asset resource ID
brandIdApple-generated brand resource ID
callerIdApple-generated callerId resource ID
creativeIdApple-generated creative resource ID
delegatedPartnerOrgIdDelegated partner's Apple-generated orgId
documentTypeimages or documents
emailIdApple-generated email resource ID
idApple-generated resource ID
imageIdApple-generated image resource ID
locationIdApple-generated location resource ID
orgIdApple-generated organization ID
overrideIdApple-generated override resource ID. May be used by an authorized partner to contest MAPS_DISPLAY feedback
partnersLocationIdPartner-generated location resource ID
resourceIdApple-generated resource ID /{locationId}/ for example
resourceTypesApple resource type. /locations/ for example
reviewIdApple-generated review resource ID
showcaseIdApple-generated showcase resource ID

Common Query Parameters

NameDescription
categoriesApple category
codeValidation code
countryCodesPartner provided country association(s)
createdDateApple-generated timestamp in dateTime format
delegatedBrandIdApple-generated ID of brand resource that's delegated to a partner by a location owner
displayNamesPartner provided display name(s)
idUnique Apple-generated resource ID
imageIdApple-generated UUID version 4 label provided by the media API
intentPartner provided brand or location asset intent
limitMinimum 1, default 100, maximum 100
namePartner provided name
partnersAssetIdPartner provided brand or location asset ID
partnerLocationIdsList of partner provided location IDs
stateApple-generated resource state description
updatedDateApple-generated timestamp in dateTime format
validationCodeApple-generated code returned in a validation report

Common Response Fields

NameTypeDescription
appleOverrideIdstringWhen present, may be used by an authorized partner to contest MAPS_DISPLAY feedback
brandIdstringApple-generated brand resource ID
cdnTemplateUrlstringCDN Template URL. See Get Metadata API
cdnUrluriApple-generated URL for media retrieval. See Get Metadata API
clientIdstringReference
codestringApple-generated report name. Used in metadata, processing, validations, and so on
contentTypestringContent's MIME type
contestDetailsobjectElement containing Apple Override contest information. Provided by an authorized partner to contest MAPS_DISPLAY feedback
createdDatedateTimeApple-generated timestamp in dateTime format
data[]arrayCollection of zero or more resources
delegatedOrgIdstringApple-generated organization ID assigned to the organization that's delegated by a location owner
delegationDetailsobjectElement containing delegation information
etagstringApple-generated UUID version 1 etag label
expires_inintegerIndicates the lifetime of the issued access token. Should be 3600 (one hour)
expiryDatedateTimeApple-generated timestamp
feedbackUrluriApple-generated feedback resource location identifier
filenamestringPartner provided identifier
fileSizeintegerCalculated size (megabytes)
grantDetailsobjectElement containing OAuth grant information
heightintegerPixel height
idstringApple-generated resource ID
legalNamestringLegal name of the company that delegated you
locationIdstringApple-generated location resource ID
messagestringApple-generated message. Used in metadata, processing, validations, and so on
namestringLabel. Apple or user generated
oauthAppDetailsobjectElement containing OAuth app information
orgDetailsobjectElement containing information about the company using an OAuth app
orgIdstringApple-generated organization ID
orgLegalNamestringLegal name of the company that delegated you
overrideIdstringApple-generated override ID. Provided to a partner that is authorized to contest MAPS_DISPLAY feedback
partnerLocationIdstringPartner provided location ID
placeCardUrluriApple-generated link which invokes the display of a mapped location along with its respective place card. Output only
resourceDetailsobjectElement containing resource information
resourceIdstringApple-generated resource ID
statestringApple-generated resource state
timezonestring Download
token_typestringType of access token issued. Should be Bearer
totalintegerTotal count of resources matching query parameters
updatedDatedateTimeApple-generated timestamp in dateTime format
widthintegerPixel width

Common Request Fields

NameTypeDescription
altTextstringAlt Text is a brief text description of an image
etagstringApple-generated UUID version 1 etag label
data[]arrayCollection of zero or more resources
idstringApple-generated resource ID
localestringLanguage of the written content
pixelWidthintegerImage width in pixels
pixelHeightintegerImage height in pixels
textstringWritten content. Length limitations
urluriResource location identifier

Pagination

NameTypeDescription
cursorsobjectElement containing after. Reference
afterstringCursor pointing to end of current page of data. If not present, current page is the last page. after value is typically the ID of the last object when object IDs are increasing over time
nextstringURL to retrieve the next page of data. If not present, the current page is the last page of data

Request Headers

NameDescription
AcceptSpecifies the content type that is valid in the response. If present, must be application/json
AuthorizationBearer token used to authenticate the request
Business-SignatureHMAC SHA512 hash of payload information and Business-Timestamp header value using a shared client secret
Business-TimestampTimestamp in milliseconds since UNIX Epoch
Business-Webhook-EnvironmentPossible values: "API Integration", "Data Qualification" or "Production"
Content-TypeMIME type of the content: application/json
If-MatchRFC 7232-compliant etag value

Response Headers

NameDescription
apple-request-idUnique ID
content-typeContent's MIME type : application/json
etagApple-generated UUID version 1 etag label
locationResource location identifier