API reference
Profile API
Manage your account profile
BetaUpdated
- Base URL
- https://reelmirror.com/api
- Authentication
- Authorization: Bearer rm_…
- Contract
- openapi.json
Get profile
GET/v1/profile
Bearer token
Response 200
Your profile Fields below are inside data.
idstringuuidnamestringemailstring
curl "https://reelmirror.com/api/v1/profile" \
-H "Authorization: Bearer $REELMIRROR_API_KEY"const response = await fetch(`https://reelmirror.com/api/v1/profile`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
},
});
const payload = await response.json();import os
import requests
response = requests.request(
"GET",
f"https://reelmirror.com/api/v1/profile",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
)
payload = response.json()Response 200 (example)
{
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"name": "My integration",
"email": "writer@example.com"
}
}Update profile
PATCH/v1/profile
Bearer token
Request body application/json
namestringrequired
Response 200
Profile updated Fields below are inside data.
idstringuuidnamestringemailstring
Errors 409 use the standard error format.
curl -X PATCH "https://reelmirror.com/api/v1/profile" \
-H "Authorization: Bearer $REELMIRROR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My integration"
}'const response = await fetch(`https://reelmirror.com/api/v1/profile`, {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.REELMIRROR_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "My integration"
}),
});
const payload = await response.json();import os
import requests
response = requests.request(
"PATCH",
f"https://reelmirror.com/api/v1/profile",
headers={
"Authorization": f"Bearer {os.environ['REELMIRROR_API_KEY']}",
},
json={
"name": "My integration"
},
)
payload = response.json()Response 200 (example)
{
"data": {
"id": "8f14e45f-ceea-4e7a-9c2d-3b1a5f2e7c10",
"name": "My integration",
"email": "writer@example.com"
}
}