Skip to main content
POST
https://scrape.st
/
internal
/
dispatch
Dispatch
curl --request POST \
  --url https://scrape.st/internal/dispatch \
  --header 'Content-Type: application/json' \
  --header 'x-admin-key: <x-admin-key>' \
  --data '
{
  "tweet": {},
  "tweets": [
    {}
  ]
}
'

Dispatch Tweets

To manually dispatch tweets to the internal processing logic (webhooks, etc.), send a POST request to the /internal/dispatch endpoint. This is an internal endpoint and requires the Admin API Key.
x-admin-key
string
required
Your Admin API key.

Body Params

tweet
object
A single tweet object to dispatch.
tweets
array
An array of resolved tweet objects to dispatch.

Example Request

curl -X POST https://scrape.st/internal/dispatch \
  -H "x-admin-key: your-admin-key" \
  -H "Content-Type: application/json" \
  -d '{
    "tweets": [
      {
        "id": "1234567890",
        "text": "Manual dispatch",
        "created_at": "2023-10-27T10:00:00Z"
      }
    ]
  }'

Response

Returns a success message with the count of dispatched tweets.
Received 1 tweets