Replace Actor Avatar
/actors/self/avatar Stores avatar media for the bearer-authenticated actor and returns the updated actor representation.
Conventions
Authentication
All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.
Base URL
All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.
Versioning
The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.
Specification
The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.
Example
curl "https://api.allsign.app/actors/self/avatar" \-X PUT \-H "Authorization: Bearer {token}" \-H "Content-Type: application/json" \--data-raw '{"content_base64": "","content_type": ""}'
Request
Request Body
{
"content_base64": "",
"content_type": ""
}content_base64
content_type
Responses
200 OK
Updated actor representation.
{
"data": {
"actor": {
"avatar_url": "",
"email": "",
"family_name": "",
"given_name": "",
"job_title": "",
"kind": "",
"name": "",
"organization": "",
"ref": "00000000-0000-4000-8000-000000000000"
}
}
}data
data.actorCanonical actor identity summary for bearer authentication.
data.actor.avatar_url
data.actor.email
data.actor.family_name
data.actor.given_name
data.actor.job_title
data.actor.kind
data.actor.name
data.actor.organization
data.actor.refPublic stable resource reference.
400 Bad Request
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
401 Unauthorized
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
422 Unprocessable Entity
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields