Grant agency staff client access
POST
/agencies/{agencyOrganizationId}/clients/{relationshipId}/membersGrant explicit role and project access to an agency staff member through the governing client relationship.
AuthorizationBearer <token>
Scoped FishOut API key. Never send credentials in query parameters.
In: header
Path Parameters
agencyOrganizationId*string
Length
1 <= lengthrelationshipId*string
Length
1 <= lengthHeader Parameters
Idempotency-Key*string
Reuse for retries of the same action for 24 hours. A changed body returns 409.
Length
8 <= length <= 128Request 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
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/agencies/string/clients/string/members" \ -H "Idempotency-Key: stringst" \ -H "Content-Type: application/json" \ -d '{ "memberId": "string", "role": "admin", "projectAccess": "all" }'{ "data": "string", "meta": { "requestId": "string", "replayed": true }}