GET   https://api.3seventy.com/api/v2.1/account/{accountId}/api-key


Gets a list of all available Api Keys for supplied account

Path Parameters

accountId integer An account to fetch a list of keys for. required

Response Properties application/json

Id integer Key identificator.
Label string User defined identificator.
Key string Api Key (used as username for login).
TypeId number Type of a key
ValidTo string A date and time this key is valid to.
LastActivity string A date and time this key was last used.
AccountId integer An account id this key has direct access to.
UserName string Username this key belongs to. Applicable to Master keys only.



using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

public class Program

private static void Main(string[] args)

const int accountId = XXXX;

var context = new T70Context();

var apiKeyRepo = context.Repository<ApiKey>(new { AccountId = accountId });

var list = apiKeyRepo.GetAll();