Skip to main content
POST
/
magic-links
Create magic link
curl --request POST \
  --url https://api.prequel.co/magic-links \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "magic_link": {
    "name": "<string>",
    "vendor": "abs",
    "bucket_name": "<string>",
    "set_destination_enabled": true,
    "redirect_url": "<string>",
    "recipient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "bucket_access_id": "<string>"
  }
}
'
{
  "status": "<string>",
  "data": {
    "magic_link": {
      "id": "<string>",
      "name": "<string>",
      "products": [
        "<string>"
      ],
      "id_in_provider_system": "<string>",
      "host": "<string>",
      "link": "<string>",
      "has_been_used": true,
      "created_at": "2023-11-07T05:31:56Z",
      "bucket_name": "<string>",
      "vendor": "<string>",
      "available_models": [
        "<string>"
      ],
      "set_destination_enabled": true,
      "recipient_id": "<string>",
      "bucket_access_id": "<string>",
      "bucket_vendor": "<string>",
      "ssh_public_key": "<string>",
      "redirect_url": "<string>",
      "metastore": "<string>",
      "catalog": "<string>",
      "bucket_host": "<string>",
      "table_bucket_arn": "<string>"
    }
  },
  "message": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

OK

status
string
required
Allowed value: "success"
data
object
required
message
string
required