Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Create or get share token for wishlist

Generate a shareable token for a wishlist. Returns existing valid token if one exists (otherwise creates a new one). The expires_at field is optional (can be null for no expiration, or a timestamp).

POST/api/v1/{app_id}/wishlists/{id}/share
Authorization
AuthorizationAPI key · headerrequired

Bearer token (format: "Bearer {token}")

Path parameters
app_idstringrequired

UUID of the app

idstringrequired

UUID of the wishlist

Request body
requiredapplication/json

Share token request (expires_at can be null or a timestamp)

expires_atstring
Responses
200

OK

created_atstring
expires_atstring
tokenstring
wishlist_idstring
400

Invalid request or expiration time

detailsstring[] | null
messagestring
successboolean
401

Unauthorized

detailsstring[] | null
messagestring
successboolean
404

Wishlist not found

detailsstring[] | null
messagestring
successboolean
500

Internal server error

detailsstring[] | null
messagestring
successboolean
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST '//customers.enad.io/api/v1/string/wishlists/string/share' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "expires_at": "string"
}'
Response
{
  "created_at": "string",
  "expires_at": "string",
  "token": "string",
  "wishlist_id": "string"
}