API 1
cURL
curl --request POST \ --url https://external.pleo.io/v0/tag-groups/{groupId}/tags \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json;charset=UTF-8' \ --data ' { "archived": false, "code": "12345", "name": "Lunch allowance" } '
{ "data": { "archived": false, "code": "12345", "createdAt": "2023-08-23T03:11:48.000Z", "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "id": "c04c7e9e-6c15-11ee-b962-0242ac120002", "updatedAt": "2023-08-23T03:11:48.000Z", "name": "Lunch allowance" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
This tag is not used anymore
false
External identifier of the Tag
"12345"
User readable name that is used for the possible value within a tag group on an expense
"Lunch allowance"
default response
Show child attributes