Create agency
Create an agency owned by the authenticated user using the supplied name. Returns its ID and profile, subject to account agency-creation limits. The selected agency supplies the current permission context; approve a separate connection to the newly created agency before managing it.
/v1/agencies/{agencyId}/agency-creationsCreate an agency owned by the authenticated user using the supplied name. Returns its ID and profile, subject to account agency-creation limits. The selected agency supplies the current permission context; approve a separate connection to the newly created agency before managing it.
Authorization
bearerAuth In: header
Path Parameters
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/agencies/string/agency-creations" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "data": { "id": "string", "name": "string", "slug": "string", "imageUrl": "string" }, "meta": { "requestId": "string", "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969", "status": "COMPLETED" }}Rename agency PATCH
Replace the selected agency’s name and return its updated profile. Requires current permission to edit agency settings; this does not select or rename another agency.
Remove agency logo DELETE
Remove the selected agency’s logo and return its updated profile. Requires current permission to edit agency settings.