assemble api