Profile
Operations tagged Profile in the public API.
/v1/me/profile
Retrieve a profile
Retrieve a profile. Authenticate with a bearer API key that includes the required scope. Resources that belong to another account return 404 NOT_FOUND. Mutations accept Idempotency-Key and emit a webhook event when they succeed.
Required scopeprofile:read
curl
curl -X GET https://api.agentency.com/v1/me/profile \
-H "Authorization: Bearer <YOUR_KEY>" \
-H "Content-Type: application/json"/v1/me/profile
Update a profile
Update a profile. Authenticate with a bearer API key that includes the required scope. Resources that belong to another account return 404 NOT_FOUND. Mutations accept Idempotency-Key and emit a webhook event when they succeed.
Required scopeprofile:write
curl
curl -X PATCH https://api.agentency.com/v1/me/profile \
-H "Authorization: Bearer <YOUR_KEY>" \
-H "Content-Type: application/json"
-d '{
"name": "name",
"company": "company",
"website": "website",
"job_title": "job_title",
"country_code": "country_code",
"country": "country",
"phone": "phone"
}'