# CreateRelationship **POST /clans/{clanid}/relationships/** To create new relationships ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Token ## Parameters ### Path parameters - **clanid** (integer) ### Query parameters - **typed** (integer) Type of relationship. 0 PNA, 1 Ally, 2 Enemy, 30 False PNA, 31 False Ally, 32 False War - **clanflag** (string) Shows the colour of the clan in hexadecimal - **nameotherclan** (string) Clan name - **symbol** (string) Image of the flag ## Responses ### 201 Default Response #### Body: application/json (object) - **message** (string) ### 400 Bad Request #### Body: application/json (string) string ### 401 Unauthorized #### Body: application/json (string) string ### 405 Method Not Allowed #### Body: application/json (string) string ### 503 Service Unavailable #### Body: application/json (string) string [Powered by Bump.sh](https://bump.sh)