curl --request POST \
--url https://api.tryarchitect.com/v0/pages/{page_id}/restore \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"actions": [
{
"actionId": "<string>",
"actionIndex": 123,
"purpose": "<string>",
"buttonTitle": "<string>",
"actionType": "<string>",
"url": "<string>"
}
],
"actionCardWidgets": [
{
"type": "<string>",
"title": "<string>",
"logos": [
{
"image": {
"altText": "<string>",
"url": "<string>",
"fileId": "<string>",
"assetId": "<string>"
}
}
]
}
],
"archivedAt": "<string>",
"audiencesCount": 4503599627370495,
"brandId": "<string>",
"createdAt": "<string>",
"deletedAt": "<string>",
"footerLinks": [
{
"links": [
{
"text": "<string>",
"url": "<string>",
"id": "<string>"
}
],
"title": "<string>",
"id": "<string>"
}
],
"name": "<string>",
"pageContext": "<string>",
"pageId": "<string>",
"pageType": "inbound",
"scripts": [
{
"content": "<string>",
"enabled": true,
"injectionPoint": "head",
"name": "<string>",
"description": "<string>"
}
],
"status": "archived",
"title": "<string>",
"updatedAt": "<string>",
"headerActionId": "<string>",
"metadata": {
"title": "<string>",
"description": "<string>",
"keywords": [
"<string>"
],
"author": "<string>",
"robots": [
"index"
],
"canonicalUrl": "<string>",
"ogTitle": "<string>",
"ogDescription": "<string>",
"ogType": "website",
"ogImageUrl": "<string>",
"ogImageFileId": "<string>",
"ogImageAlt": "<string>",
"ogSiteName": "<string>",
"ogUrl": "<string>",
"twitterCard": "summary",
"twitterTitle": "<string>",
"twitterDescription": "<string>",
"twitterImageUrl": "<string>",
"twitterImageFileId": "<string>",
"twitterImageAlt": "<string>",
"twitterSite": "<string>",
"twitterCreator": "<string>",
"themeColor": "<string>"
}
}Restore an archived page.
curl --request POST \
--url https://api.tryarchitect.com/v0/pages/{page_id}/restore \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'{
"actions": [
{
"actionId": "<string>",
"actionIndex": 123,
"purpose": "<string>",
"buttonTitle": "<string>",
"actionType": "<string>",
"url": "<string>"
}
],
"actionCardWidgets": [
{
"type": "<string>",
"title": "<string>",
"logos": [
{
"image": {
"altText": "<string>",
"url": "<string>",
"fileId": "<string>",
"assetId": "<string>"
}
}
]
}
],
"archivedAt": "<string>",
"audiencesCount": 4503599627370495,
"brandId": "<string>",
"createdAt": "<string>",
"deletedAt": "<string>",
"footerLinks": [
{
"links": [
{
"text": "<string>",
"url": "<string>",
"id": "<string>"
}
],
"title": "<string>",
"id": "<string>"
}
],
"name": "<string>",
"pageContext": "<string>",
"pageId": "<string>",
"pageType": "inbound",
"scripts": [
{
"content": "<string>",
"enabled": true,
"injectionPoint": "head",
"name": "<string>",
"description": "<string>"
}
],
"status": "archived",
"title": "<string>",
"updatedAt": "<string>",
"headerActionId": "<string>",
"metadata": {
"title": "<string>",
"description": "<string>",
"keywords": [
"<string>"
],
"author": "<string>",
"robots": [
"index"
],
"canonicalUrl": "<string>",
"ogTitle": "<string>",
"ogDescription": "<string>",
"ogType": "website",
"ogImageUrl": "<string>",
"ogImageFileId": "<string>",
"ogImageAlt": "<string>",
"ogSiteName": "<string>",
"ogUrl": "<string>",
"twitterCard": "summary",
"twitterTitle": "<string>",
"twitterDescription": "<string>",
"twitterImageUrl": "<string>",
"twitterImageFileId": "<string>",
"twitterImageAlt": "<string>",
"twitterSite": "<string>",
"twitterCreator": "<string>",
"themeColor": "<string>"
}
}API key authentication for the External Actor Gateway
page_id parameter
The body is of type object.
Page created successfully
Show child attributes
Show child attributes
^\+[1-9]\d{1,14}$0 <= x <= 9007199254740991^\+[1-9]\d{1,14}$^\+[1-9]\d{1,14}$Show child attributes
inbound, outbound, call_followup, sales_deck, custom Show child attributes
archived, draft, published ^\+[1-9]\d{1,14}$Show child attributes
Was this page helpful?