Yext

App · 25 actions

Manage locations and other entities in Yext's Knowledge Graph, respond to reviews, send review invitations, handle publisher suggestions and posts, and follow new reviews, questions and listing changes.

Actions

ActionWhat it does
Accept or reject publisher suggestionAccept a publisher's suggested change, which updates the entity, or reject it.
Create entityAdd an entity, such as a location, to the Knowledge Graph.
Create postPublish a post for one or more entities on Google Business Profile, Facebook, Instagram, LinkedIn or TikTok.
Delete entityDelete an entity from the Knowledge Graph.
Delete postDelete a post from every publisher it was published to.
Delete review invitationDelete a review invitation.
Delete review responseDelete a response you posted to a review.
Get entityGet an entity's details: name, address, phone, hours, website and its other fields.
Get questionGet a question and its answers.
Get reviewGet a review with its rating, text, author and comments.
List custom fieldsList the account's custom fields with their API names (c_...), types and options.
List entitiesList the Knowledge Graph's entities (locations, professionals, products and more), optionally of some types, in a folder or by name.
List foldersList the account's entity folders.
List listingsList your entities' listings on publishers, with each one's sync status and URL.
List postsList social and Google posts published through Yext.
List publisher suggestionsList changes publishers suggested to your listings, such as new hours from Google users.
List publishersList the publishers (Google, Apple, Facebook and others) your listings can appear on.
List questionsList questions customers asked on publishers such as Google, with their answers.
List review invitationsList review requests sent by email or text, with whether each was opened, clicked and reviewed.
List reviewsList reviews from every publisher, filtered by entity, rating, date, status or whether they need a response.
Respond to reviewPost your response to a review, publicly or as a private message, on the publisher where it was left.
Send review invitationAsk a customer to review one of your entities, by email or text message.
Update entityChange an entity's fields.
Update first-party reviewChange a review collected through Yext (a first-party review): its status, rating, text or author.
Update review responseChange the text or visibility of a response you posted.

Accept or reject publisher suggestion

Accept a publisher's suggested change, which updates the entity, or reject it.

Inputs

Suggestionsuggestion_idtextRequired
The suggestion's ID.
AnswerstatustextRequired
Accept or reject the change.One of: ACCEPTED, REJECTED.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {}
}

Create entity

Add an entity, such as a location, to the Knowledge Graph.

Inputs

Typeentity_typetextRequired
What kind of entity it is.One of: location, restaurant, healthcareProfessional (Healthcare professional), healthcareFacility (Healthcare facility), financialProfessional (Financial professional), hotel, hotelRoomType (Hotel room type), atm, event, faq, and 3 more.
NamenametextRequired
The entity's name.
Entity IDnew_entity_idtext
Your own ID for the entity, such as a store number. Leave empty and Yext makes one.
Addressaddress_line1text
The street address.
Address line 2address_line2text
The second line of the address, such as a suite.
Citycitytext
The city.
State or regionregiontext
The state, province or region, such as NY.
Postal codepostal_codetext
The ZIP or postal code.
Countrycountry_codetext
The two-letter country code, such as US.
Main phonemain_phonetext
The main phone number, such as +12125551234.
Descriptiondescriptiontext
A description of the business.
Websitewebsitetext
The website address.
Emailsemailslist
Email addresses.
Folderfolder_idtext
The folder to keep the entity in.
Other fieldsother_fieldsobject
Any other fields, by their API name, such as {"c_storeCode": "12"} for a custom field.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "meta": {
      "entityType": "example",
      "id": "example",
      "uid": "example"
    },
    "name": "example"
  }
}

Create post

Publish a post for one or more entities on Google Business Profile, Facebook, Instagram, LinkedIn or TikTok.

Inputs

Entitiesentity_idslistRequired
The entities to post for.
PublisherpublishertextRequired
Where to publish.One of: GOOGLEMYBUSINESS (Google Business Profile), FACEBOOK, INSTAGRAM, LINKEDIN, TIKTOK, FIRSTPARTY (Your own pages (first party)).
Texttexttext
The post's text.
Titletitletext
A title, where the publisher shows one.
Photo URLsphoto_urlslist
Links to photos to attach.
Linkclickthrough_urltext
A link people can follow from the post.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "clickthroughUrl": "example",
    "createdDate": "example",
    "entityId": [
      "example"
    ],
    "entityPosts": [
      {}
    ],
    "photoUrls": [
      "example"
    ],
    "postDate": "example",
    "postFormat": "example",
    "postId": "example",
    "postTitle": "example",
    "publishers": [
      "example"
    ],
    "text": "example"
  }
}

Delete entity

Delete an entity from the Knowledge Graph. Its listings are taken down.

Inputs

Entityentity_idtextRequired
The entity: a location, professional, product or other record in the Knowledge Graph.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "id": "example"
  }
}

Delete post

Delete a post from every publisher it was published to.

Inputs

Post IDpost_idtextRequired
The post's ID, which Create post returns.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {}
}

Delete review invitation

Delete a review invitation.

Inputs

Invitation IDinvitation_idtextRequired
The invitation's ID (invitationUid), which Send review invitation returns.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {}
}

Delete review response

Delete a response you posted to a review.

Inputs

Review IDreview_idnumberRequired
The review's ID.At least 1.
Comment IDcomment_idtextRequired
The comment's ID, which Respond to review returns.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {}
}

Get entity

Get an entity's details: name, address, phone, hours, website and its other fields.

Inputs

Entityentity_idtextRequired
The entity: a location, professional, product or other record in the Knowledge Graph.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "address": {
      "city": "example",
      "countryCode": "example",
      "line1": "example",
      "line2": "example",
      "postalCode": "example",
      "region": "example"
    },
    "answer": "example",
    "categoryIds": [
      "example"
    ],
    "closed": true,
    "description": "example",
    "emails": [
      "example"
    ],
    "hours": {},
    "mainPhone": "example",
    "meta": {
      "countryCode": "example",
      "createdTimestamp": "example",
      "entityType": "example",
      "folderId": "example",
      "id": "example",
      "labels": [
        "example"
      ],
      "language": "example",
      "timestamp": "example",
      "uid": "example"
    },
    "name": "example",
    "websiteUrl": {
      "displayUrl": "example",
      "url": "example"
    }
  }
}

Get question

Get a question and its answers.

Inputs

Question IDquestion_idtextRequired
The question's ID.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "answerCount": 1,
    "answers": [
      {
        "authorName": "example",
        "authorType": "example",
        "content": "example",
        "createTime": 1,
        "id": 1
      }
    ],
    "authorName": "example",
    "authorType": "example",
    "content": "example",
    "createTime": 1,
    "entityIds": [
      "example"
    ],
    "id": "example",
    "language": "example",
    "publisherId": "example",
    "updateTime": 1,
    "upvoteCount": 1
  }
}

Get review

Get a review with its rating, text, author and comments.

Inputs

Review IDreview_idnumberRequired
The review's ID.At least 1.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "authorEmail": "example",
    "authorName": "example",
    "comments": [
      {
        "authorName": "example",
        "authorRole": "example",
        "content": "example",
        "id": 1,
        "parentId": 1,
        "publisherDate": 1,
        "visibility": "example"
      }
    ],
    "content": "example",
    "flagStatus": "example",
    "id": 1,
    "labelIds": [
      1
    ],
    "lastYextUpdateTime": 1,
    "locationId": "example",
    "publisherDate": 1,
    "publisherId": "example",
    "rating": 1,
    "recommendation": "example",
    "reviewLanguage": "example",
    "reviewType": "example",
    "status": "example",
    "title": "example",
    "url": "example"
  }
}

List custom fields

List the account's custom fields with their API names (c_...), types and options.

Inputs

How manylimitnumber
How many to return, up to 1000. Leave empty for 100.From 1 to 1000.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "count": 1,
    "customFields": [
      {
        "group": "example",
        "id": "example",
        "name": "example",
        "options": [
          {}
        ],
        "type": "example"
      }
    ],
    "pageToken": "example"
  }
}

List entities

List the Knowledge Graph's entities (locations, professionals, products and more), optionally of some types, in a folder or by name.

Inputs

Entity typesentity_typeslist
Only entities of these types.One or more of: location, restaurant, healthcareProfessional (Healthcare professional), healthcareFacility (Healthcare facility), financialProfessional (Financial professional), hotel, hotelRoomType (Hotel room type), atm, event, faq, and 3 more.
Name containsname_containstext
Only entities whose name contains this text.
Folderfolder_idtext
Only entities in this folder.
How manylimitnumber
How many to return, up to 50. Leave empty for 10.From 1 to 50.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "count": 1,
    "entities": [
      {
        "address": {
          "city": "example",
          "countryCode": "example",
          "line1": "example",
          "line2": "example",
          "postalCode": "example",
          "region": "example"
        },
        "answer": "example",
        "categoryIds": [
          "example"
        ],
        "closed": true,
        "description": "example",
        "emails": [
          "example"
        ],
        "hours": {},
        "mainPhone": "example",
        "meta": {
          "countryCode": "example",
          "createdTimestamp": "example",
          "entityType": "example",
          "folderId": "example",
          "id": "example",
          "labels": [
            "example"
          ],
          "language": "example",
          "timestamp": "example",
          "uid": "example"
        },
        "name": "example",
        "websiteUrl": {
          "displayUrl": "example",
          "url": "example"
        }
      }
    ],
    "pageToken": "example"
  }
}

List folders

List the account's entity folders.

Inputs

None.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "count": 1,
    "folders": [
      {
        "id": "example",
        "name": "example",
        "parentId": "example"
      }
    ]
  }
}

List listings

List your entities' listings on publishers, with each one's sync status and URL.

Inputs

Entitiesentity_idslist
Only these entities. Leave empty for all.
Publisherspublisher_idslist
Only listings on these publishers, such as GOOGLEMYBUSINESS.
Statusesstatuseslist
Only listings with these statuses. Leave empty for all but deleted and stopped ones.One or more of: LIVE, NOT_SYNCED (Not synced), SYNC_IN_PROGRESS (Sync in progress), UPDATE_IN_PROGRESS (Update in progress), CANCELING_SYNC (Cancelling sync), NOT_APPLICABLE (Not applicable), DELETE_PENDING (Delete pending), DELETE_FAILED (Delete failed), DELETED, SYNC_STOPPED (Sync stopped).
How manylimitnumber
How many to return, up to 100. Leave empty for 100.From 1 to 100.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "count": 1,
    "listings": [
      {
        "entityId": "example",
        "id": "example",
        "listingUrl": "example",
        "publisherId": "example",
        "status": "example",
        "statusDetails": [
          {}
        ]
      }
    ],
    "nextPageToken": "example"
  }
}

List posts

List social and Google posts published through Yext.

Inputs

Entitiesentity_idslist
Only these entities. Leave empty for all.
Containstexttext
Only posts containing this text.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "nextPageToken": "example",
    "posts": [
      {
        "clickthroughUrl": "example",
        "createdDate": "example",
        "entityId": [
          "example"
        ],
        "entityPosts": [
          {}
        ],
        "photoUrls": [
          "example"
        ],
        "postDate": "example",
        "postFormat": "example",
        "postId": "example",
        "postTitle": "example",
        "publishers": [
          "example"
        ],
        "text": "example"
      }
    ]
  }
}

List publisher suggestions

List changes publishers suggested to your listings, such as new hours from Google users.

Inputs

Entitiesentity_idslist
Only these entities. Leave empty for all.
Statusesstatuseslist
Only suggestions with these statuses.One or more of: WAITING_ON_CUSTOMER (Waiting for you), ACCEPTED, REJECTED, EXPIRED.
How manylimitnumber
How many to return, up to 50. Leave empty for 10.From 1 to 50.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "count": 1,
    "suggestions": [
      {
        "dateCreated": "example",
        "dateResolved": "example",
        "fieldName": "example",
        "id": "example",
        "locationId": "example",
        "originalContent": "example",
        "publisherId": "example",
        "resolvedBy": "example",
        "status": "example",
        "suggestedContent": "example"
      }
    ]
  }
}

List publishers

List the publishers (Google, Apple, Facebook and others) your listings can appear on.

Inputs

Showsubsettext
Which publishers to list. Leave empty for the ones your subscription covers.One of: RELEVANT_ONLY (Only publishers your subscription and countries cover), ALL (Every publisher).

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "publishers": [
      {
        "id": "example",
        "name": "example",
        "supportedCountries": [
          "example"
        ],
        "url": "example"
      }
    ]
  }
}

List questions

List questions customers asked on publishers such as Google, with their answers.

Inputs

How manylimitnumber
How many to return, up to 50. Leave empty for 10.From 1 to 50.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "count": 1,
    "pageToken": "example",
    "questions": [
      {
        "answerCount": 1,
        "answers": [
          {
            "authorName": "example",
            "authorType": "example",
            "content": "example",
            "createTime": 1,
            "id": 1
          }
        ],
        "authorName": "example",
        "authorType": "example",
        "content": "example",
        "createTime": 1,
        "entityIds": [
          "example"
        ],
        "id": "example",
        "language": "example",
        "publisherId": "example",
        "updateTime": 1,
        "upvoteCount": 1
      }
    ]
  }
}

List review invitations

List review requests sent by email or text, with whether each was opened, clicked and reviewed.

Inputs

Entitiesentity_idslist
Only these entities. Leave empty for all.
Statusstatustext
Only invitations with this status.One of: PENDING, ACCEPTED, REJECTED.
Sent bytypetext
Only email or only text invitations.One of: EMAIL, SMS (Text message).
How manylimitnumber
How many to return, up to 100. Leave empty for 10.From 1 to 100.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "clicked": 1,
    "countEmail": 1,
    "countSMS": 1,
    "invitations": [
      {
        "clicked": "example",
        "contact": "example",
        "entity": {
          "id": "example"
        },
        "firstName": "example",
        "invitationUid": "example",
        "language": "example",
        "lastName": "example",
        "opened": "example",
        "reviewId": 1,
        "reviewed": "example",
        "sent": "example",
        "status": "example",
        "templateId": "example",
        "transactionId": "example",
        "type": "example"
      }
    ],
    "nextPageToken": "example",
    "opened": 1,
    "responded": 1,
    "sent": 1
  }
}

List reviews

List reviews from every publisher, filtered by entity, rating, date, status or whether they need a response.

Inputs

Entitiesentity_idslist
Only these entities. Leave empty for all.
Publisherspublisher_idslist
Only reviews from these publishers, such as GOOGLEMYBUSINESS or FACEBOOK.
Lowest ratingmin_ratingnumber
Only reviews rated at least this.From 1 to 5.
Highest ratingmax_ratingnumber
Only reviews rated at most this.From 1 to 5.
Posted sincepublished_sincedate
Only reviews posted on or after this day.
Updated sinceupdated_sincedate
Only reviews changed in Yext on or after this day.
Waiting for a responseawaiting_responsetext
Only reviews still waiting for your response.One of: REVIEW (Reviews with no response), COMMENT (Reviews whose latest comment has no response), REVIEW_OR_COMMENT (Either).
Statusstatustext
Only reviews with this status.One of: LIVE, QUARANTINED, REMOVED.
Containstexttext
Only reviews containing this text.
How manylimitnumber
How many to return, up to 100. Leave empty for 10.From 1 to 100.
Page tokenpage_tokentext
The next page token from the last page, to read the next page.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "averageRating": 1,
    "count": 1,
    "nextPageToken": "example",
    "reviews": [
      {
        "authorEmail": "example",
        "authorName": "example",
        "comments": [
          {
            "authorName": "example",
            "authorRole": "example",
            "content": "example",
            "id": 1,
            "parentId": 1,
            "publisherDate": 1,
            "visibility": "example"
          }
        ],
        "content": "example",
        "flagStatus": "example",
        "id": 1,
        "labelIds": [
          1
        ],
        "lastYextUpdateTime": 1,
        "locationId": "example",
        "publisherDate": 1,
        "publisherId": "example",
        "rating": 1,
        "recommendation": "example",
        "reviewLanguage": "example",
        "reviewType": "example",
        "status": "example",
        "title": "example",
        "url": "example"
      }
    ]
  }
}

Respond to review

Post your response to a review, publicly or as a private message, on the publisher where it was left.

Inputs

Review IDreview_idnumberRequired
The review's ID.At least 1.
ResponsecontenttextRequired
Your response.
Visibilityvisibilitytext
Public replies show under the review; private ones go only to the reviewer, where the publisher allows it. Leave empty for public.One of: PUBLIC (Public reply), PRIVATE (Private message to the reviewer).
Reply to commentparent_idnumber
To reply to a comment on the review rather than the review itself, that comment's ID.At least 1.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "id": 1
  }
}

Send review invitation

Ask a customer to review one of your entities, by email or text message.

Inputs

Entityentity_idtextRequired
The entity the customer is asked to review.
First namefirst_nametextRequired
The customer's first name.
Last namelast_nametextRequired
The customer's last name.
Email or mobile numbercontacttextRequired
The customer's email address, or mobile number (such as +12125551234) to text them.
Template IDtemplate_idtext
The review invitation template to use. Leave empty for the default.
Transaction IDtransaction_idtext
Your own reference for the visit or order, kept with the review.
Languagelanguagetext
The invitation's language code, such as en or fr.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "clicked": "example",
    "contact": "example",
    "entity": {
      "id": "example"
    },
    "firstName": "example",
    "invitationUid": "example",
    "language": "example",
    "lastName": "example",
    "opened": "example",
    "reviewId": 1,
    "reviewed": "example",
    "sent": "example",
    "status": "example",
    "templateId": "example",
    "transactionId": "example",
    "type": "example"
  }
}

Update entity

Change an entity's fields. Fields left empty stay as they are.

Inputs

Entityentity_idtextRequired
The entity: a location, professional, product or other record in the Knowledge Graph.
Namenametext
The entity's name.
Addressaddress_line1text
The street address.
Address line 2address_line2text
The second line of the address, such as a suite.
Citycitytext
The city.
State or regionregiontext
The state, province or region, such as NY.
Postal codepostal_codetext
The ZIP or postal code.
Countrycountry_codetext
The two-letter country code, such as US.
Main phonemain_phonetext
The main phone number, such as +12125551234.
Descriptiondescriptiontext
A description of the business.
Websitewebsitetext
The website address.
Emailsemailslist
Email addresses.
Folderfolder_idtext
The folder to keep the entity in.
Other fieldsother_fieldsobject
Any other fields, by their API name, such as {"c_storeCode": "12"} for a custom field.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "meta": {
      "entityType": "example",
      "id": "example",
      "uid": "example"
    },
    "name": "example"
  }
}

Update first-party review

Change a review collected through Yext (a first-party review): its status, rating, text or author.

Inputs

Review IDreview_idnumberRequired
The review's ID.At least 1.
Statusstatustext
Live shows it; quarantined and removed hide it.One of: LIVE, QUARANTINED, REMOVED.
Ratingratingnumber
The rating.From 1 to 5.
Textcontenttext
The review's text.
Author nameauthor_nametext
The reviewer's name.

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {
    "id": 1
  }
}

Update review response

Change the text or visibility of a response you posted.

Inputs

Review IDreview_idnumberRequired
The review's ID.At least 1.
Comment IDcomment_idtextRequired
The comment's ID, which Respond to review returns.
ResponsecontenttextRequired
The new response.
Visibilityvisibilitytext
Public or private.One of: PUBLIC (Public reply), PRIVATE (Private message to the reviewer).

Outputs

dataobject
The response from Yext.
Example output
{
  "data": {}
}

On this page