Upload an image to embed in an outreach email
POST
/admin/outreach/media
const url = 'http://localhost:8000/api/v1/admin/outreach/media';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8000/api/v1/admin/outreach/media \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Public URL of the stored image
Not an admin
Validation error