POST
/
public
/
v1
/
import
/
refresh-data
curl --request POST \
  --url https://api.superjoin.ai/public/v1/import/refresh-data \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "spreadsheetId": "16OMa-CcvljWzsdursd7KjAdFhVoE0HehYB4CngyQZgj4",
  "sheetId": "649755416",
  "metadata": {
    "userEmailAddress": "support@superjoin.ai",
    "identifier": "refresh-2024-09-03-1234"
  }
}'
{
  "message": "Data refreshed successfully."
}

Authorizations

Authorization
string
header
required

To access this endpoint, you need an API key. Please use the following format: Api-Key <API_KEY>.

If you don't have an API key, you can request one by reaching out to us at support@superjoin.ai.

In case you've misplaced your API key, you can request a new one; however, note that any previous keys will be deactivated.

Body

application/json
spreadsheetId
string
required

The ID of the spreadsheet you want to refresh.

Example:

"16OMa-CcvljWzsdursd7KjAdFhVoE0HehYB4CngyQZgj4"

sheetId
string
required

The ID of the specific sheet within the spreadsheet to refresh.

Example:

"649755416"

metadata
object

Optional metadata for the refresh operation.

Response

200
application/json
Successfully refreshed the data.
message
string
Example:

"Data refreshed successfully."