- Docs
- API reference
- Post
- Get Post reactions by slug
Get Post reactions by slug
GEThttps://api.envoapi.com/v1/posts/reactions/by-slug
Retrieve the reactions on a post by slug with EnvoAPI, each with its reaction type and who reacted: a person or company with name, headline and URL.
GET
/v1/posts/reactions/by-slug
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”slug
required
string
The post slug: the path segment after /posts/ in the post URL.
Example
activity-7505256567546699776-98gjreactionType
required
string
Example
LIKEResponses
Section titled “Responses”Post reactions and the people or companies who reacted.
Media typeapplication/json
object
data
required
object
reactions
required
Array<object>
object
reactionType
required
string
reactor
required
One of:
meta
required
object
paging
required
object
start
required
number
0count
required
integer
hasMore
required
boolean
creditCost
required
integer
Headers
Section titled “Headers”Date
string
Required response header.
Cache-Control
string
Required response header.
X-Request-Id
string
Required response header.
X-Credits-Remaining
integer
Required response header.
X-RateLimit-Limit
integer
Required response header.
X-RateLimit-Remaining
integer
Required response header.
X-RateLimit-Reset
integer
Required response header.
Errors
Section titled “Errors”Every error returns the same body. The status and error.code tell you what went wrong. The Errors guide covers handling and retries.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
retryable
required
boolean
details
required
Array<object>
object
field
required
string
code
required
string
message
required
string
meta
required
object
requestId
required
string
Headers
Section titled “Headers”Date
string
Required response header.
Cache-Control
string
Required response header.
X-Request-Id
string
Required response header.
| Status | error.code | Meaning |
|---|---|---|
| 400 | invalid_request | A parameter is missing or has a value we cannot use. Read error.details, fix the value and try again. |
| 401 | invalid_api_key | Your API key is missing, wrong or switched off. Check it in your dashboard. |
| 402 | insufficient_credits | Your account has no credits left. Top up, then send a new call. Also sends X-Credits-Remaining, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 403 | insufficient_scope, account_suspended | Your account is suspended or cannot use this endpoint. Resolve the account or its access first. |
| 404 | resource_not_found | Nothing matched what you sent. Check it for typos. Also sends X-Credits-Remaining, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 405 | method_not_allowed | The route exists, but the request used a method other than GET. Use the method shown at the top of this page. Also sends Allow. |
| 406 | not_acceptable | The Accept header asks for a format we do not send. Ask for JSON with a supported Accept value. |
| 415 | unsupported_media_type | The request declared a media type we do not accept. Remove the body or use the documented media type. |
| 429 | rate_limit_exceeded | Too many calls in a short time. Honor Retry-After; use bounded retries with backoff and jitter. Also sends X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After. |
| 500 | internal_error, response_too_large | Something failed on our side. Retry only when error.retryable is true. Also sends X-Credits-Remaining, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 502 | upstream_error | A data source sent back something we could not use. Retry with bounded backoff. Also sends X-Credits-Remaining, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 503 | service_unavailable | Lookups are unavailable for a moment. Follow error.retryable, and Retry-After when it is present. Also sends Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Credits-Remaining. |
| 504 | upstream_timeout | The lookup ran out of time. Retry with bounded backoff. Also sends X-Credits-Remaining, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |